Skip to content

Commit 7a6ba0a

Browse files
committed
tweaks
1 parent 27e7159 commit 7a6ba0a

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

.vscode/launch.json

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,32 +6,30 @@
66
{
77
"name": "Run the current Mocha test file",
88
"type": "node",
9+
"sourceMaps": true,
910
"request": "launch",
1011
"internalConsoleOptions": "openOnSessionStart",
11-
"runtimeArgs": [],
12+
"runtimeExecutable": "npx",
13+
"program": "mocha",
1214
"args": [
1315
"--colors",
1416
"${relativeFile}"
1517
],
16-
"program": "${workspaceFolder}/node_modules/.bin/mocha",
17-
"sourceMaps": true,
18-
"cwd": "${workspaceRoot}"
18+
"cwd": "${workspaceFolder}"
1919
},
2020
{
2121
"name": "Run the current TypeScript file",
2222
"type": "node",
23+
"sourceMaps": true,
2324
"request": "launch",
2425
"internalConsoleOptions": "openOnSessionStart",
2526
"args": [
26-
"${relativeFile}"
27-
],
28-
"runtimeArgs": [
2927
"--nolazy",
3028
"-r",
31-
"ts-node/register"
29+
"ts-node/register",
30+
"${relativeFile}"
3231
],
33-
"sourceMaps": true,
34-
"cwd": "${workspaceRoot}"
32+
"cwd": "${workspaceFolder}"
3533
},
3634
]
3735
}

0 commit comments

Comments
 (0)