Skip to content

Commit c7460ea

Browse files
committed
add launch.json for vscode
1 parent 1e60125 commit c7460ea

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.vscode/launch.json

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"name": "Run the current Mocha test file",
6+
"type": "node",
7+
"request": "launch",
8+
"runtimeArgs": [
9+
],
10+
"args": [
11+
"--colors",
12+
"${relativeFile}"
13+
],
14+
"internalConsoleOptions": "openOnSessionStart",
15+
"program": "${workspaceFolder}/node_modules/.bin/mocha",
16+
"sourceMaps": true,
17+
"cwd": "${workspaceRoot}"
18+
},
19+
{
20+
"name": "Run the current TypeScript file",
21+
"type": "node",
22+
"request": "launch",
23+
"args": [
24+
"${relativeFile}"
25+
],
26+
"runtimeArgs": [
27+
"--nolazy",
28+
"-r",
29+
"ts-node/register"
30+
],
31+
"sourceMaps": true,
32+
"cwd": "${workspaceRoot}"
33+
},
34+
]
35+
}

0 commit comments

Comments
 (0)