Skip to content

Instantly share code, notes, and snippets.

@max10rogerio
Created March 20, 2020 12:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save max10rogerio/1d4c4dd5dbc5e8c2274a3bce05ad9a6e to your computer and use it in GitHub Desktop.
Save max10rogerio/1d4c4dd5dbc5e8c2274a3bce05ad9a6e to your computer and use it in GitHub Desktop.
Running nodemon with debug and auto-restart
{
"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