Skip to content

Commit 81fe29d

Browse files
authored
feat(debug): Debugger launch config for test (#423)
So that we can easily debugging the test cases.
1 parent b01fdbc commit 81fe29d

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.vscode/launch.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,13 @@
2121
"args": ["--server=4711"],
2222
"sourceMaps": true,
2323
"outFiles": ["${workspaceRoot}/out/src/**/*.js"]
24+
},
25+
{
26+
"name": "Launch Extension Tests",
27+
"type": "extensionHost",
28+
"request": "launch",
29+
"testConfiguration": "${workspaceFolder}/.vscode-test.js",
30+
"args": ["--extensionDevelopmentPath=${workspaceFolder}"]
2431
}
2532
],
2633
"compounds": [
@@ -30,6 +37,13 @@
3037
"Launch Extension",
3138
"Launch Debug Server"
3239
]
40+
},
41+
{
42+
"name": "Extension Tests and Debug Server",
43+
"configurations": [
44+
"Launch Extension Tests",
45+
"Launch Debug Server"
46+
]
3347
}
3448
]
3549
}

0 commit comments

Comments
 (0)