|
| 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 |
| 5 | +{ |
| 6 | + "version": "0.2.0", |
| 7 | + "configurations": [ |
| 8 | + { |
| 9 | + "name": "Run Extension Without Other Extensions", |
| 10 | + "type": "extensionHost", |
| 11 | + "request": "launch", |
| 12 | + "args": [ |
| 13 | + "--disable-extensions", |
| 14 | + "--extensionDevelopmentPath=${workspaceFolder}", |
| 15 | + // Directory for Extension Testing |
| 16 | + "${workspaceFolder}/test-fixture" |
| 17 | + ], |
| 18 | + "outFiles": [ |
| 19 | + "${workspaceFolder}/dist/**/*.js" |
| 20 | + ], |
| 21 | + "preLaunchTask": "${defaultBuildTask}", |
| 22 | + }, |
| 23 | + { |
| 24 | + "name": "Run Extension", |
| 25 | + "type": "extensionHost", |
| 26 | + "request": "launch", |
| 27 | + "args": [ |
| 28 | + "--extensionDevelopmentPath=${workspaceFolder}", |
| 29 | + // Directory for Extension Testing |
| 30 | + "${workspaceFolder}/test-fixture" |
| 31 | + ], |
| 32 | + "outFiles": [ |
| 33 | + "${workspaceFolder}/dist/**/*.js" |
| 34 | + ], |
| 35 | + "preLaunchTask": "${defaultBuildTask}", |
| 36 | + }, |
| 37 | + { |
| 38 | + "name": "Extension Tests", |
| 39 | + "type": "extensionHost", |
| 40 | + "request": "launch", |
| 41 | + "runtimeExecutable": "${execPath}", |
| 42 | + "args": [ |
| 43 | + "--disable-extensions", |
| 44 | + "--extensionDevelopmentPath=${workspaceFolder}", |
| 45 | + "--extensionTestsPath=${workspaceFolder}/out/test/extension" |
| 46 | + ], |
| 47 | + "outFiles": [ |
| 48 | + "${workspaceFolder}/out/test/**/*.js" |
| 49 | + ] |
| 50 | + } |
| 51 | + ] |
| 52 | +} |
0 commit comments