Skip to content

Instantly share code, notes, and snippets.

@ariellephan
Last active September 17, 2020 10:09
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 ariellephan/2e78ceb56d88ea9475adf1e7083594d2 to your computer and use it in GitHub Desktop.
Save ariellephan/2e78ceb56d88ea9475adf1e7083594d2 to your computer and use it in GitHub Desktop.
nodejs vscode
{
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:8000",
"webRoot": "${workspaceFolder}/src/core/",
"sourceMaps": true,
},
{
"type": "node",
"name": "Debug (Attach) - Remote",
"request": "attach",
"address": "127.0.0.1",
"port": 9229,
"restart": true,
"skipFiles": [
"<node_internals>/**"
],
},
{
"type": "node",
"request": "attach",
"name": "Attach by Process ID",
"processId": "${command:PickProcess}",
"outFiles": [
"${workspaceFolder}/**/*.js"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment