diff options
author | Nicolas 'Pixel' Noble <pixel@nobis-crew.org> | 2017-02-21 15:04:26 -0800 |
---|---|---|
committer | Nicolas 'Pixel' Noble <pixel@nobis-crew.org> | 2017-02-21 15:05:19 -0800 |
commit | d1f3082ff608a82040d122ad3634942ac1515cf2 (patch) | |
tree | 7fe0a1bc7d914d5c1d9f8e9b94473aa3fdef5ce1 | |
parent | 09b8342496a665eda0c609eb4db15c6c2916036d (diff) |
Adding shim for debugging node tests using vscode.
-rw-r--r-- | .vscode/launch.json | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000000..700c61ccea --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,30 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "type": "node", + "request": "launch", + "name": "Mocha Tests", + "cwd": "${workspaceRoot}", + "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/mocha", + "windows": { + "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/mocha.cmd" + }, + "runtimeArgs": [ + "-u", + "tdd", + "--timeout", + "999999", + "--colors", + "${workspaceRoot}/src/node/test" + ], + "internalConsoleOptions": "openOnSessionStart" + }, + { + "type": "node", + "request": "attach", + "name": "Attach to Process", + "port": 5858 + } + ] +} |