Skip to content

Commit 8e7fd07

Browse files
committed
Add a VS code config for test debugging
1 parent b748c2d commit 8e7fd07

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.vscode/launch.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,26 @@
11
{
22
"version": "0.2.0",
33
"configurations": [
4+
{
5+
"type": "node",
6+
"request": "launch",
7+
"name": "Mocha Tests",
8+
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
9+
"args": [
10+
"-u",
11+
"tdd",
12+
"--timeout",
13+
"999999",
14+
"--colors",
15+
"-r",
16+
"ts-node/register",
17+
"${workspaceFolder}/test/**/*.spec.ts"
18+
],
19+
"env": {
20+
"TS_NODE_FILES": "true"
21+
},
22+
"internalConsoleOptions": "openOnSessionStart"
23+
},
424
{
525
"name": "Build All",
626
"type": "node",

0 commit comments

Comments
 (0)