Created
June 12, 2020 12:08
-
-
Save Alexzanderk/666dffd12cfc0d3f15f606c798bde148 to your computer and use it in GitHub Desktop.
Typescript Nodejs debugger launch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// Use IntelliSense to learn about possible attributes. | |
// Hover to view descriptions of existing attributes. | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Launch Program", | |
"program": "${workspaceFolder}/app/server.ts", | |
"preLaunchTask": "tsc: build - tsconfig.json", | |
"outFiles": ["${workspaceFolder}/dist/**/*.js"] | |
}, | |
{ | |
"type": "node", | |
"request": "attach", | |
"name": "Attach by Process ID", | |
"processId": "${command:PickProcess}", | |
"skipFiles": ["<node_internals>/**"] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment