Skip to content

Commit 871ecb4

Browse files
committed
chore: update launch config to debug language server AND client
launch extension host with all other extensions disabled for simplicity
1 parent 3d95848 commit 871ecb4

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.vscode/launch.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,20 @@
99
"runtimeExecutable": "${execPath}",
1010
"args": [
1111
"--extensionDevelopmentPath=${workspaceRoot}",
12-
"--disableExtension=cortex-command-community-project-language-support"
12+
"--disable-extensions"
1313
],
1414
"outFiles": ["${workspaceRoot}/dist/**/*.js"],
1515
"autoAttachChildProcesses": true,
1616
"preLaunchTask": "build-affected"
1717
},
18+
{
19+
"name": "Attach to Language Server",
20+
"type": "node",
21+
"request": "attach",
22+
"outFiles": ["${workspaceRoot}/dist/**/*.js"],
23+
"sourceMaps": true,
24+
"restart": true
25+
},
1826
{
1927
"name": "Language Server E2E Test",
2028
"type": "extensionHost",
@@ -27,5 +35,11 @@
2735
],
2836
"outFiles": ["${workspaceRoot}/client/out/test/**/*.js"]
2937
}
38+
],
39+
"compounds": [
40+
{
41+
"name": "Launch Client and Attach to Server",
42+
"configurations": ["Launch Client", "Attach to Language Server"]
43+
}
3044
]
3145
}

0 commit comments

Comments
 (0)