Skip to content

Instantly share code, notes, and snippets.

@koistya
Created December 27, 2016 08:30
Show Gist options
  • Save koistya/421ea3e0139225b27f909e98202a34de to your computer and use it in GitHub Desktop.
Save koistya/421ea3e0139225b27f909e98202a34de to your computer and use it in GitHub Desktop.
Settings for Node.js application debugging with VS Code. See https://github.com/kriasoft/nodejs-api-starter
{
// Use IntelliSense to find out which attributes exist for node debugging
// Use hover for the description of the existing attributes
// For further information visit https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node2",
"request": "attach",
"name": "Attach to Node.js",
"port": 9229,
"sourceMaps": true,
"localRoot": "${workspaceRoot}",
"remoteRoot": "/usr/src/app",
"outFiles": [
"${workspaceRoot}/build/**/*.js"
],
"restart": false
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment