|
1 | | -// A launch configuration that compiles the extension and then opens it inside a new window |
2 | | -{ |
3 | | - "version": "0.2.0", |
4 | | - "configurations": [ |
5 | | - { |
6 | | - "type": "node", |
7 | | - "request": "launch", |
8 | | - "name": "Jest Current File", |
9 | | - "program": "${workspaceFolder}/node_modules/.bin/jest", |
10 | | - "args": ["${file}", "--no-cache"], |
11 | | - "console": "integratedTerminal", |
12 | | - "internalConsoleOptions": "neverOpen", |
13 | | - "disableOptimisticBPs": true, |
14 | | - "windows": { |
15 | | - "program": "${workspaceFolder}/node_modules/jest/bin/jest" |
16 | | - } |
17 | | - }, |
18 | | - { |
19 | | - "type": "extensionHost", |
20 | | - "request": "launch", |
21 | | - "name": "Launch Client", |
22 | | - "runtimeExecutable": "${execPath}", |
23 | | - "args": [ |
24 | | - "--extensionDevelopmentPath=${workspaceRoot}/apps/extension/client" |
25 | | - ], |
26 | | - "outFiles": ["${workspaceRoot}/apps/extension/client/dist/**.js"], |
27 | | - "preLaunchTask": "npm: extension:compile" |
28 | | - }, |
29 | | - { |
30 | | - "type": "node", |
31 | | - "request": "attach", |
32 | | - "name": "Attach to Server", |
33 | | - "port": 6009, |
34 | | - "restart": true, |
35 | | - "outFiles": ["${workspaceRoot}/apps/extension/server/dist/**.js"] |
36 | | - }, |
37 | | - { |
38 | | - "name": "Language Server E2E Test", |
39 | | - "type": "extensionHost", |
40 | | - "request": "launch", |
41 | | - "runtimeExecutable": "${execPath}", |
42 | | - "args": [ |
43 | | - "--extensionDevelopmentPath=${workspaceRoot}/apps/extension/client", |
44 | | - "--extensionTestsPath=${workspaceRoot}/apps/extension/client/out/test/index", |
45 | | - "${workspaceRoot}apps/extension/client/testFixture" |
46 | | - ], |
47 | | - "outFiles": ["${workspaceRoot}/apps/extension/client/dist/**.js"] |
48 | | - } |
49 | | - ], |
50 | | - "compounds": [ |
51 | | - { |
52 | | - "name": "Client + Server", |
53 | | - "configurations": ["Launch Client", "Attach to Server"] |
54 | | - } |
55 | | - ] |
56 | | -} |
| 1 | +// A launch configuration that compiles the extension and then opens it inside a new window |
| 2 | +{ |
| 3 | + "version": "0.2.0", |
| 4 | + "configurations": [ |
| 5 | + { |
| 6 | + "type": "node", |
| 7 | + "request": "launch", |
| 8 | + "name": "Jest Current File", |
| 9 | + "program": "${workspaceFolder}/node_modules/.bin/jest", |
| 10 | + "args": ["${file}", "--no-cache"], |
| 11 | + "console": "integratedTerminal", |
| 12 | + "internalConsoleOptions": "neverOpen", |
| 13 | + "disableOptimisticBPs": true, |
| 14 | + "windows": { |
| 15 | + "program": "${workspaceFolder}/node_modules/jest/bin/jest" |
| 16 | + } |
| 17 | + }, |
| 18 | + { |
| 19 | + "type": "extensionHost", |
| 20 | + "request": "launch", |
| 21 | + "name": "Launch Client", |
| 22 | + "runtimeExecutable": "${execPath}", |
| 23 | + "args": [ |
| 24 | + "--extensionDevelopmentPath=${workspaceRoot}/apps/extension/client" |
| 25 | + ], |
| 26 | + "outFiles": ["${workspaceRoot}/apps/extension/client/dist/**.js"], |
| 27 | + "preLaunchTask": "npm: extension:compile" |
| 28 | + }, |
| 29 | + { |
| 30 | + "type": "node", |
| 31 | + "request": "attach", |
| 32 | + "name": "Attach to Server", |
| 33 | + "port": 6009, |
| 34 | + "restart": true, |
| 35 | + "outFiles": ["${workspaceRoot}/apps/extension/server/dist/**.js"] |
| 36 | + }, |
| 37 | + { |
| 38 | + "name": "Language Server E2E Test", |
| 39 | + "type": "extensionHost", |
| 40 | + "request": "launch", |
| 41 | + "runtimeExecutable": "${execPath}", |
| 42 | + "args": [ |
| 43 | + "--extensionDevelopmentPath=${workspaceRoot}/apps/extension/client", |
| 44 | + "--extensionTestsPath=${workspaceRoot}/apps/extension/client/out/test/index", |
| 45 | + "${workspaceRoot}apps/extension/client/testFixture" |
| 46 | + ], |
| 47 | + "outFiles": ["${workspaceRoot}/apps/extension/client/dist/**.js"] |
| 48 | + } |
| 49 | + ], |
| 50 | + "compounds": [ |
| 51 | + { |
| 52 | + "name": "Client + Server", |
| 53 | + "configurations": ["Launch Client", "Attach to Server"] |
| 54 | + } |
| 55 | + ] |
| 56 | +} |
0 commit comments