| // A launch configuration that compiles the extension and then opens it inside a new window |
| // Use IntelliSense to learn about possible attributes. |
| // Hover to view descriptions of existing attributes. |
| // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 |
| { |
| "version": "0.2.0", |
| "configurations": [ |
| { |
| "name": "Run Extension", |
| "type": "extensionHost", |
| "request": "launch", |
| "args": ["--extensionDevelopmentPath=${workspaceFolder}"], |
| "outFiles": ["${workspaceFolder}/dist/**/*.js"], |
| "preLaunchTask": "${defaultBuildTask}" |
| }, |
| { |
| "name": "Run Unit Tests", |
| "request": "launch", |
| "runtimeArgs": ["run", "unit-test"], |
| "runtimeExecutable": "npm", |
| "type": "node", |
| "console": "integratedTerminal", |
| "sourceMaps": true |
| }, |
| { |
| "name": "Run Integration Tests", |
| "type": "extensionHost", |
| "request": "launch", |
| "args": [ |
| "--extensionDevelopmentPath=${workspaceFolder}", |
| "--extensionTestsPath=${workspaceFolder}/out/test/integration/index" |
| ], |
| "outFiles": [ |
| "${workspaceFolder}/out/**/*.js", |
| "${workspaceFolder}/dist/**/*.js" |
| ], |
| "preLaunchTask": "npm build-all", |
| "internalConsoleOptions": "openOnSessionStart" |
| } |
| ] |
| } |