Skip to content

Instantly share code, notes, and snippets.

@vitorpacheco
Created August 8, 2017 19:01
Show Gist options
  • Select an option

  • Save vitorpacheco/4dd854396fcb1150be6598dbb134fdb8 to your computer and use it in GitHub Desktop.

Select an option

Save vitorpacheco/4dd854396fcb1150be6598dbb134fdb8 to your computer and use it in GitHub Desktop.
Debug VSCode
{
// Use IntelliSense to learn about possible Node.js debug attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"runtimeExecutable": "npm",
"runtimeArgs": [
"run-script",
"debug"
],
"port": 9229,
"protocol": "inspector"
},
{
"type": "node",
"request": "attach",
// "protocol": "inspector",
"name": "Attach to Process",
"port": 9229
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment