Last active
June 14, 2017 09:50
-
-
Save dbenchi/65b892a0e49836517b0c27a5252ac750 to your computer and use it in GitHub Desktop.
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
{ | |
// Name of configuration; appears in the launch configuration drop down menu. | |
"name": "Mocha tests", | |
"request": "launch", | |
// Type of configuration. Possible values: "node", "mono". | |
"type": "node", | |
// Workspace relative or absolute path to the program. | |
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha", | |
// Automatically stop program after launch. | |
"stopOnEntry": false, | |
// Command line arguments passed to the program. | |
"args": [ | |
"modules/**/test/unit-backend/**/*.js", // path to your test files | |
"test/module-unit-backend-all.js", | |
"--no-timeouts" | |
], | |
// 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": "dev" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment