Adding shim for debugging node tests using vscode.

This commit is contained in:
Nicolas 'Pixel' Noble 2017-02-21 15:04:26 -08:00
Родитель 09b8342496
Коммит d1f3082ff6
1 изменённых файлов: 30 добавлений и 0 удалений

30
.vscode/launch.json поставляемый Normal file
Просмотреть файл

@ -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
}
]
}