Last active
November 28, 2021 10:25
-
-
Save crashmax-dev/36a496ff6c535bcf82d702d0c94301f4 to your computer and use it in GitHub Desktop.
VS Code debugging (typescript, nodemon, ts-node)
This file contains 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": [ | |
{ | |
"name": "Debug Nodemon", | |
"type": "node", | |
"request": "attach", | |
"processId": "${command:PickProcess}", | |
"restart": true, | |
"protocol": "inspector" | |
} | |
] | |
} |
This file contains 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
{ | |
"restartable": "rs", | |
"ignore": [ | |
".git", | |
"dist", | |
".vscode", | |
"node_modules/**/node_modules" | |
], | |
"verbose": true, | |
"execMap": { | |
"ts": "node --require ts-node/register" | |
}, | |
"watch": [ | |
"src" | |
], | |
"ext": "ts" | |
} |
This file contains 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
{ | |
"scripts": { | |
"dev": "nodemon src/index.ts", | |
"dev:debug": "nodemon --inspect src/index.ts" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment