Last active
April 24, 2020 15:31
-
-
Save flaudanum/c9604e04ebf35311efcb40a1980400b2 to your computer and use it in GitHub Desktop.
VS code config: Node.js, debug with auto-restart on code change provided by nodemon, run normal process in parallel
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": "Launch Program", | |
| "skipFiles": [ | |
| "<node_internals>/**" | |
| ], | |
| "program": "${workspaceFolder}/app.js", | |
| "restart": true, | |
| // Here module nodemon must be installed globally | |
| "runtimeExecutable": "nodemon", | |
| /* Runs the process "normally" in parallel in a terminal | |
| Beware: the normal and debug processes must be terminated separately */ | |
| "console": "integratedTerminal" | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment