-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlaunch.json
44 lines (44 loc) · 1.31 KB
/
launch.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
// 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.
],
"internalConsoleOptions": "openOnSessionStart",
"console": "internalConsole",
"outputCapture": "std"
},
{
"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}"
],
"skipFiles": [
"<node_internals>/**" // Prevent stepping through async_hooks.js et al.
],
"internalConsoleOptions": "openOnSessionStart",
"console": "internalConsole",
"outputCapture": "std"
}
]
}