Skip to content

Instantly share code, notes, and snippets.

@bouzuya
Last active May 8, 2016 05:38
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 bouzuya/73b38ca60f9defa64cc65108d33d09d8 to your computer and use it in GitHub Desktop.
Save bouzuya/73b38ca60f9defa64cc65108d33d09d8 to your computer and use it in GitHub Desktop.
VS Code debugger configuration for Node.js (.vscode/launch.json)
{
"version": "0.2.0",
"configurations": [
{
"name": "Launch",
"type": "node",
"request": "launch",
"program": "${workspaceRoot}/.tmp/src/server/index.js",
"stopOnEntry": false,
"args": [],
"cwd": "${workspaceRoot}",
"preLaunchTask": null,
"runtimeExecutable": "/Users/bouzuya/.nodebrew/current/bin/node",
"runtimeArgs": [
"--nolazy"
],
"env": {
"NODE_ENV": "development"
},
"externalConsole": false,
"sourceMaps": true,
"outDir": null
},
{
"name": "Attach",
"type": "node",
"request": "attach",
"port": 5858,
"address": "localhost",
"restart": false,
"sourceMaps": true,
"outDir": null,
"localRoot": "${workspaceRoot}",
"remoteRoot": null
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment