Created
March 20, 2020 12:21
-
-
Save max10rogerio/1d4c4dd5dbc5e8c2274a3bce05ad9a6e to your computer and use it in GitHub Desktop.
Running nodemon with debug and auto-restart
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": [ | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "nodemon", | |
// path to nodemon inside your project | |
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/nodemon", | |
// script to initialize the server | |
"program": "${workspaceFolder}/src/bin/www", | |
"restart": true, | |
"console": "integratedTerminal", | |
"internalConsoleOptions": "neverOpen", | |
"skipFiles": [ | |
"<node_internals>/**" | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment