Skip to content

Instantly share code, notes, and snippets.

@peacefulseeker
Last active January 27, 2019 10:43
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 peacefulseeker/9de2870ee3cb2284926941b3ecab02b3 to your computer and use it in GitHub Desktop.
Save peacefulseeker/9de2870ee3cb2284926941b3ecab02b3 to your computer and use it in GitHub Desktop.
BackEnd and FrontEnd Debug config for VSCode
{
"configurations": [
{"source": "https://github.com/Microsoft/vscode-recipes/tree/master/nodemon"},
{
"debug": "nodemon -e --inspect-brk js,graphql -x node src/index.js"
},
{
"type": "node",
"request": "attach",
"name": "BackEnd - Nodemon Debug",
"processId": "${command:PickProcess}",
"restart": true,
"protocol": "inspector",
},
{
"debug": "node --inspect-brk=9229 server.js"
},
{
"name": "FrontEnd - Debug",
"type": "node",
"request": "launch",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "npm",
"runtimeArgs": [
"run-script",
"debug"
],
"port": 9229
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment