Last active
March 27, 2016 09:52
-
-
Save vishakvkt/63f2089af27abe6103df to your computer and use it in GitHub Desktop.
Mocha Debug launch.json for Visual studio Code on OS X
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
{ | |
// 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": "/usr/local/lib/node_modules/mocha/bin/_mocha", | |
// Automatically stop program after launch. | |
"stopOnEntry": false, | |
// Command line arguments passed to the program. | |
"args": ["test/linked_list_test.js"], | |
// Workspace relative or absolute path to the working directory of the program being debugged. Default is the current workspace. | |
"cwd": "${workspaceRoot}", | |
// 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