1- // A launch configuration that launches the extension inside a new window
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
1+ // A launch configuration that compiles the extension and then opens it inside a new window
52{
6- "version" : " 0.2.0" ,
7- "configurations" : [
8- {
9- "name" : " Extension" ,
10- "type" : " extensionHost" ,
11- "request" : " launch" ,
12- "args" : [
13- " --extensionDevelopmentPath=${workspaceFolder}"
14- ],
15- "preLaunchTask" : " npm: build"
16- }
17- ]
18- }
3+ "version" : " 0.2.0" ,
4+ "configurations" : [
5+ {
6+ "type" : " extensionHost" ,
7+ "request" : " launch" ,
8+ "name" : " Launch Client" ,
9+ "runtimeExecutable" : " ${execPath}" ,
10+ "args" : [" --extensionDevelopmentPath=${workspaceRoot}" ],
11+ "outFiles" : [" ${workspaceRoot}/dist/client/out/**/*.js" ],
12+ "autoAttachChildProcesses" : true ,
13+ "preLaunchTask" : " watch"
14+ },
15+ {
16+ "name" : " Language Server E2E Test" ,
17+ "type" : " extensionHost" ,
18+ "request" : " launch" ,
19+ "runtimeExecutable" : " ${execPath}" ,
20+ "args" : [
21+ " --extensionDevelopmentPath=${workspaceRoot}" ,
22+ " --extensionTestsPath=${workspaceRoot}/client/out/test/index" ,
23+ " ${workspaceRoot}/client/testFixture"
24+ ],
25+ "outFiles" : [" ${workspaceRoot}/client/out/test/**/*.js" ]
26+ }
27+ ]
28+ }
0 commit comments