microsoft/qdk
Publicmirrored fromhttps://github.com/microsoft/qdkAvailable
.vscode/launch.shared.json
63lines · modecode
| 1 | { |
| 2 | "version": "0.2.0", |
| 3 | "configurations": [ |
| 4 | { |
| 5 | // DEFAULT - Launches a new VS Code window with the QDK extension. |
| 6 | "name": "VS Code Extension Debug", |
| 7 | "type": "extensionHost", |
| 8 | "request": "launch", |
| 9 | "runtimeExecutable": "${execPath}", |
| 10 | "args": [ |
| 11 | "--profile=dev", |
| 12 | "--extensionDevelopmentPath=${workspaceFolder}/source/vscode", |
| 13 | "${workspaceFolder}/samples/" |
| 14 | ] |
| 15 | }, |
| 16 | { |
| 17 | // Launches the extension in "web extension" mode (like vscode.dev). |
| 18 | // Use this to test the browser-based version of the extension. |
| 19 | "name": "(web) VS Code Extension Debug", |
| 20 | "type": "extensionHost", |
| 21 | "request": "launch", |
| 22 | "args": [ |
| 23 | "--profile=dev", |
| 24 | "--extensionDevelopmentPath=${workspaceFolder}/source/vscode", |
| 25 | "--extensionDevelopmentKind=web", |
| 26 | "${workspaceFolder}/samples/" |
| 27 | ] |
| 28 | }, |
| 29 | { |
| 30 | // Use when developing in WSL. |
| 31 | // |
| 32 | // Requires the WSL extension (ms-vscode-remote.remote-wsl) |
| 33 | // to be installed in the dev profile. |
| 34 | // Launch once, install the WSL Extension, and then launch again. |
| 35 | "name": "(wsl) VS Code Extension Debug", |
| 36 | "type": "extensionHost", |
| 37 | "request": "launch", |
| 38 | "args": [ |
| 39 | "--profile=dev", |
| 40 | "--remote=wsl+${env:WSL_DISTRO_NAME}", |
| 41 | "--extensionDevelopmentPath=${workspaceFolder}/source/vscode", |
| 42 | "${workspaceFolder}/samples/" |
| 43 | ] |
| 44 | }, |
| 45 | { |
| 46 | // Use when developing in Codespaces. |
| 47 | // |
| 48 | // Requires the Codespaces extension (github.codespaces) |
| 49 | // to be installed in the dev profile. |
| 50 | // Launch once, install the Codespaces Extension, and then launch again. |
| 51 | "name": "(codespaces) VS Code Extension Debug", |
| 52 | "type": "extensionHost", |
| 53 | "debugWebWorkerHost": true, |
| 54 | "request": "launch", |
| 55 | "args": [ |
| 56 | "--profile=dev", |
| 57 | "--remote=codespaces+${env:CODESPACE_NAME}", |
| 58 | "--extensionDevelopmentPath=${workspaceFolder}/source/vscode", |
| 59 | "${workspaceFolder}/samples/" |
| 60 | ] |
| 61 | } |
| 62 | ] |
| 63 | } |
| 64 | |