Skip to content

Commit 3b7ccfd

Browse files
committed
setup .vscode/launch.json for debugging tests
Signed-off-by: Kipras Melnikovas <kipras@kipras.org>
1 parent 174ca58 commit 3b7ccfd

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.vscode/launch.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"name": "ts-node tests",
9+
"type": "node",
10+
"request": "launch",
11+
"args": [
12+
// "${relativeFile}" //
13+
"test/run.ts"
14+
],
15+
"runtimeArgs": [
16+
"-r", //
17+
"ts-node/register"
18+
],
19+
"cwd": "${workspaceRoot}",
20+
"protocol": "inspector",
21+
"internalConsoleOptions": "openOnSessionStart",
22+
"env": {
23+
"DEBUG": "gsr:*"
24+
}
25+
}
26+
]
27+
}

0 commit comments

Comments
 (0)