Created
October 17, 2019 13:41
-
-
Save crafter999/20cd6c218892d4e33e173bb6af79920c to your computer and use it in GitHub Desktop.
Debug Node.js + Typescript on VSCODE (linux)
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
| { | |
| "version": "0.2.0", | |
| "configurations": [ | |
| { | |
| "type": "node", | |
| "request": "launch", | |
| "name": "Debug Node.js", | |
| "program": "${workspaceFolder}/main.ts", // <--- typescript debug file | |
| "outFiles": ["${workspaceFolder}/dist/**/*.js"], // <--- dist js files | |
| "sourceMaps": true, | |
| "port":9229, | |
| "runtimeArgs": ["--inspect-brk=9229"], | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment