Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Commit 5eb4d22

Browse files
shanelananShane Lanan
and
Shane Lanan
authored
Feature minor updates (#297)
Co-authored-by: Shane Lanan <tbd@tbd.com>
1 parent 9acedb5 commit 5eb4d22

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,7 @@ This project comes pre-configured with everything you need to get started.
420420
When you hit `F5` in VS Code, it looks for a top level `.vscode` folder with a `launch.json` file.
421421

422422
You can debug in the following ways:
423+
* **Launch Program** - transpile typescript to javascript via npm build, then launch the app with the debugger attached on startup
423424
* **Attach by Process ID** - run the project in debug mode. This is mostly identical to the "Node.js: Attach by Process ID" template with one minor change.
424425
We added `"protocol": "inspector"` which tells VS Code that we're using the latest version of Node which uses a new debug protocol.
425426
* **Jest Current File** - have a Jest test file open and active in VSCode, then debug this specific file by setting break point. All tests are not run.
@@ -428,6 +429,13 @@ We added `"protocol": "inspector"` which tells VS Code that we're using the late
428429
In this file, you can tell VS Code exactly what you want to do:
429430
```json
430431
[
432+
{
433+
"name": "Launch Program",
434+
"type": "node",
435+
"program": "${workspaceFolder}/dist/server.js",
436+
"request": "launch",
437+
"preLaunchTask": "npm: build"
438+
},
431439
{
432440
"type": "node",
433441
"request": "attach",

0 commit comments

Comments
 (0)