Skip to content

Commit

Permalink
Add vscode debugger launch config
Browse files Browse the repository at this point in the history
  • Loading branch information
papandreou committed May 21, 2020
1 parent 21aed95 commit 82b50a1
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
// 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": "Test suite",
"program": "${workspaceFolder}/node_modules/.bin/_mocha",
"args": ["--timeout", "9999999999"],
"skipFiles": [
"<node_internals>/**" // Prevent stepping through async_hooks.js et al.
]
},
{
"type": "node",
"request": "launch",
"name": "Mocha current file",
"cwd": "${workspaceRoot}",
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/mocha",
"windows": {
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/mocha.cmd"
},
"runtimeArgs": [
"--timeout",
"999999",
"--colors",
"--recursive",
"${file}"
],
"internalConsoleOptions": "openOnSessionStart"
}
]
}

0 comments on commit 82b50a1

Please sign in to comment.