Created
April 27, 2017 21:14
-
-
Save weswigham/8b6ddfcb99daa85e095fe1fe82ecd8de to your computer and use it in GitHub Desktop.
This file contains hidden or 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": "Launch", | |
"type": "node", | |
"request": "launch", | |
"program": "${workspaceRoot}/node_modules/gulp/bin/gulp.js", | |
"stopOnEntry": true, | |
"args": ["test"], | |
"cwd": "${workspaceRoot}", | |
"preLaunchTask": null, | |
"runtimeExecutable": null, | |
"runtimeArgs": [ | |
"--nolazy" | |
], | |
"env": { | |
"NODE_ENV": "development" | |
}, | |
"console": "integratedTerminal", | |
"sourceMaps": true, | |
"outFiles": [] | |
}, | |
{ | |
"name": "Attach", | |
"type": "node", | |
"request": "attach", | |
"port": 5858, | |
"address": "localhost", | |
"restart": false, | |
"sourceMaps": false, | |
"outFiles": [], | |
"localRoot": "${workspaceRoot}", | |
"remoteRoot": null | |
}, | |
{ | |
"name": "Attach to Process", | |
"type": "node", | |
"request": "attach", | |
"processId": "${command.PickProcess}", | |
"port": 5858, | |
"sourceMaps": false, | |
"outFiles": [] | |
}, | |
{ | |
// Name of configuration; appears in the launch configuration drop down menu. | |
"name": "Run mocha", | |
// Type of configuration. Possible values: "node", "mono". | |
"type": "node", | |
// Workspace relative or absolute path to the program. | |
"program": "${workspaceRoot}/src/node_modules/mocha/bin/_mocha", | |
// Automatically stop program after launch. | |
"stopOnEntry": true, | |
// Command line arguments passed to the program. | |
"args": ["test/"], | |
// Workspace relative or absolute path to the working directory of the program being debugged. Default is the current workspace. | |
"cwd": ".", | |
// Workspace relative or absolute path to the runtime executable to be used. Default is the runtime executable on the PATH. | |
"runtimeExecutable": null, | |
// Environment variables passed to the program. | |
"env": { "NODE_ENV": "production"} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment