Skip to content

Commit 160bcbe

Browse files
committed
Add launch configuration for also debugging MicroProfile extension
- It is sometimes necessary to debug both the Quarkus and MicroProfile project folders at once - extensionDevelopmentPath option may be provided multiple times, permitting the debugging of multiple extensions at once - The new configuration assumes a contributor has placed the vscode-quarkus & vscode-microprofile project folders under the same folder Signed-off-by: Roland Grunberg <rgrunber@redhat.com>
1 parent 9cb7a2d commit 160bcbe

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.vscode/launch.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,24 @@
2121
],
2222
"preLaunchTask": "npm: watch"
2323
},
24+
{
25+
"name": "Run Extension & vscode-microprofile",
26+
"type": "extensionHost",
27+
"request": "launch",
28+
"runtimeExecutable": "${execPath}",
29+
"args": [
30+
"--extensionDevelopmentPath=${workspaceFolder}",
31+
"--extensionDevelopmentPath=${workspaceFolder}/../vscode-microprofile"
32+
],
33+
"env": {
34+
"VSCODE_REDHAT_TELEMETRY_DEBUG": "true"
35+
},
36+
"outFiles": [
37+
"${workspaceFolder}/dist/**/*.js",
38+
"${workspaceFolder}/../vscode-microprofile/dist/**/*.js"
39+
],
40+
"preLaunchTask": "npm: watch"
41+
},
2442
{
2543
"name": "Extension Tests",
2644
"type": "extensionHost",

0 commit comments

Comments
 (0)