|
1 | 1 | // A launch configuration that compiles the extension and then opens it 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 |
2 | 5 | { |
3 | | - "version": "0.1.0", |
4 | | - "configurations": [ |
5 | | - { |
6 | | - "name": "Launch Extension", |
7 | | - "type": "extensionHost", |
8 | | - "request": "launch", |
9 | | - "runtimeExecutable": "${execPath}", |
10 | | - "args": ["--extensionDevelopmentPath=${workspaceRoot}" ], |
11 | | - "stopOnEntry": false, |
12 | | - "sourceMaps": true, |
13 | | - "outFiles": [ "${workspaceRoot}/out/src/**/*.js" ], |
14 | | - "preLaunchTask": "npm" |
15 | | - }, |
16 | | - { |
17 | | - "name": "Launch Tests", |
18 | | - "type": "extensionHost", |
19 | | - "request": "launch", |
20 | | - "runtimeExecutable": "${execPath}", |
21 | | - "args": ["--extensionDevelopmentPath=${workspaceRoot}", "--extensionTestsPath=${workspaceRoot}/out/test" ], |
22 | | - "stopOnEntry": false, |
23 | | - "sourceMaps": true, |
24 | | - "outFiles": [ "${workspaceRoot}/out/test/**/*.js" ], |
25 | | - "preLaunchTask": "npm" |
26 | | - } |
27 | | - ] |
| 6 | + "version": "0.2.0", |
| 7 | + "configurations": [ |
| 8 | + { |
| 9 | + "name": "Run Extension", |
| 10 | + "type": "extensionHost", |
| 11 | + "request": "launch", |
| 12 | + "args": [ |
| 13 | + "--extensionDevelopmentPath=${workspaceFolder}" |
| 14 | + ], |
| 15 | + "outFiles": [ |
| 16 | + "${workspaceFolder}/out/**/*.js" |
| 17 | + ], |
| 18 | + "preLaunchTask": "${defaultBuildTask}" |
| 19 | + }, |
| 20 | + { |
| 21 | + "name": "Extension Tests", |
| 22 | + "type": "extensionHost", |
| 23 | + "request": "launch", |
| 24 | + "args": [ |
| 25 | + "--extensionDevelopmentPath=${workspaceFolder}", |
| 26 | + "--extensionTestsPath=${workspaceFolder}/out/test/suite/index" |
| 27 | + ], |
| 28 | + "outFiles": [ |
| 29 | + "${workspaceFolder}/out/test/**/*.js" |
| 30 | + ], |
| 31 | + "preLaunchTask": "${defaultBuildTask}" |
| 32 | + } |
| 33 | + ] |
28 | 34 | } |
0 commit comments