Skip to content

Instantly share code, notes, and snippets.

@jcreamer898

jcreamer898/launch.json

Last active Sep 20, 2017
Embed
What would you like to do?
How I use vscode's debugger with our nodejs apps
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Run tests",
"program": "${workspaceRoot}/node_modules/.bin/jest"
},
{
"name": "Launch",
"type": "node",
"request": "launch",
"program": "${workspaceRoot}/bin/www",
"stopOnEntry": false,
"args": [],
"cwd": "${workspaceRoot}",
"preLaunchTask": null,
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/babel-node",
"runtimeArgs": [
"--nolazy"
],
"env": {
"NODE_ENV": "development",
"ASSET_HOST": "http://localhost:8081",
"NO_WEBPACK_MIDDLEWARE": "true"
},
"console": "internalConsole",
"sourceMaps": true,
"outFiles": []
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment