Last active
September 14, 2016 08:47
-
-
Save gdugas/f33fa5700a5edb936fbf418e981778ff to your computer and use it in GitHub Desktop.
vscode-node-launcher.json
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": [ | |
{ | |
"name": "Run current file", | |
"type": "node", | |
"request": "launch", | |
"program": "${file}", | |
"stopOnEntry": false, | |
"args": [], | |
"cwd": "${workspaceRoot}", | |
"preLaunchTask": null, | |
"runtimeExecutable": null, | |
"runtimeArgs": [ | |
"--nolazy" | |
], | |
"env": { | |
"NODE_ENV": "development" | |
}, | |
"console": "internalConsole", | |
"sourceMaps": false, | |
"outDir": null | |
}, | |
{ | |
"name": "Run all tests", | |
"type": "node", | |
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha", | |
"stopOnEntry": false, | |
"args": [], | |
"cwd": "${workspaceRoot}", | |
"runtimeExecutable": null, | |
"env": { | |
"NODE_ENV": "development" | |
} | |
}, | |
{ | |
"name": "Run current test file", | |
"type": "node", | |
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha", | |
"stopOnEntry": false, | |
"args": ["${file}"], | |
"cwd": "${workspaceRoot}", | |
"runtimeExecutable": null, | |
"env": { | |
"NODE_ENV": "development" | |
} | |
}, | |
{ | |
"name": "Attach", | |
"type": "node", | |
"request": "attach", | |
"port": 5858, | |
"address": "localhost", | |
"restart": false, | |
"sourceMaps": false, | |
"outDir": null, | |
"localRoot": "${workspaceRoot}", | |
"remoteRoot": null | |
}, | |
{ | |
"name": "Attach to process", | |
"type": "node", | |
"request": "attach", | |
"processId": "${command.PickProcess}", | |
"port": 5858, | |
"sourceMaps": false, | |
"outDir": null | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment