Last active
September 20, 2017 14:43
-
-
Save jcreamer898/7049b358dcd500370218ea6c0fcfa597 to your computer and use it in GitHub Desktop.
How I use vscode's debugger with our nodejs apps
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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