Skip to content

Commit

Permalink
add Visual Studio Code launch.json for debugging test scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
greg committed Jun 3, 2018
1 parent cdcf86b commit 804a7cf
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [

{
"type": "node",
"request": "launch",
"name": "Mocha Tests",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"sourceMaps": true,
"outFiles": [
"${workspaceRoot}/build/**/*.js"
],
"args": [
"-u",
"tdd",
"--timeout",
"999999",
"--colors",
"${workspaceFolder}/build/test"
],
"internalConsoleOptions": "openOnSessionStart"
},
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"program": "${workspaceFolder}\\build\\index.js",
"outFiles": [
"${workspaceFolder}/**/*.js"
]
}
]
}

0 comments on commit 804a7cf

Please sign in to comment.