-
Notifications
You must be signed in to change notification settings - Fork 150
/
launch.json
35 lines (35 loc) · 1002 Bytes
/
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
// For configurations:
// https://code.visualstudio.com/Docs/editor/debugging
{
"version": "0.2.0",
"configurations": [
{
"name": "Run the current Mocha test file",
"type": "node",
"sourceMaps": true,
"request": "launch",
"internalConsoleOptions": "openOnSessionStart",
"runtimeExecutable": "npx",
"program": "mocha",
"args": [
"--colors",
"${relativeFile}"
],
"cwd": "${workspaceFolder}"
},
{
"name": "Run the current TypeScript file",
"type": "node",
"sourceMaps": true,
"request": "launch",
"internalConsoleOptions": "openOnSessionStart",
"args": [
"--nolazy",
"-r",
"ts-node/register",
"${relativeFile}"
],
"cwd": "${workspaceFolder}"
},
]
}