|
1 | 1 | { |
2 | | - // Use IntelliSense to learn about possible attributes. |
3 | | - // Hover to view descriptions of existing attributes. |
4 | | - "version": "0.2.0", |
5 | | - "configurations": [ |
6 | | - { |
7 | | - "type": "gdb", |
8 | | - "request": "launch", |
9 | | - "name": "Launch Program", |
10 | | - "target": ".obj/server/ada_language_server", |
11 | | - "cwd": "${workspaceRoot}", |
12 | | - "valuesFormatting": "parseText" |
13 | | - } |
14 | | - ] |
| 2 | + // Use IntelliSense to learn about possible attributes. |
| 3 | + // Hover to view descriptions of existing attributes. |
| 4 | + "version": "0.2.0", |
| 5 | + "configurations": [ |
| 6 | + { |
| 7 | + "name": "Launch Extension", |
| 8 | + "type": "extensionHost", |
| 9 | + "request": "launch", |
| 10 | + "runtimeExecutable": "${execPath}", |
| 11 | + "outFiles": [ |
| 12 | + "${workspaceFolder}/integration/vscode/ada/out/**/*.js", |
| 13 | + "!**/node_modules/**" |
| 14 | + ], |
| 15 | + "args": [ |
| 16 | + "--extensionDevelopmentPath=${workspaceFolder}/integration/vscode/ada", |
| 17 | + |
| 18 | + // It is useful to have workspace available for local debugging. The |
| 19 | + // following one is provided within the repository with test folders |
| 20 | + // included. |
| 21 | + // "${workspaceFolder}/integration/vscode/ada/debug.code-workspace" |
| 22 | + |
| 23 | + // An alternative is to use the ALS workspace itself as a runtime |
| 24 | + // workspace for debugging. However it is not possible to start the |
| 25 | + // debug instance on the same workspace as the development instance. |
| 26 | + // So you can checkout a second copy of the ALS repository under |
| 27 | + // ../als-rt and use it with the following line. |
| 28 | + "${workspaceFolder}/../als-rt" |
| 29 | + ], |
| 30 | + "preLaunchTask": "npm: compile" |
| 31 | + }, |
| 32 | + { |
| 33 | + "name": "Extension Tests", |
| 34 | + "type": "extensionHost", |
| 35 | + "request": "launch", |
| 36 | + "runtimeExecutable": "${execPath}", |
| 37 | + "outFiles": [ |
| 38 | + "${workspaceFolder}/integration/vscode/ada/out/**/*.js", |
| 39 | + "!**/node_modules/**" |
| 40 | + ], |
| 41 | + "args": [ |
| 42 | + "--extensionDevelopmentPath=${workspaceFolder}/integration/vscode/ada", |
| 43 | + "--extensionTestsPath=${workspaceFolder}/integration/vscode/ada/out/test/suite/index", |
| 44 | + "${workspaceFolder}/integration/vscode/ada/test/SampleProject" |
| 45 | + ], |
| 46 | + "preLaunchTask": "npm: pretest" |
| 47 | + }, |
| 48 | + { |
| 49 | + "type": "gdb", |
| 50 | + "request": "launch", |
| 51 | + "name": "Launch Program", |
| 52 | + "target": ".obj/server/ada_language_server", |
| 53 | + "cwd": "${workspaceRoot}", |
| 54 | + "valuesFormatting": "parseText" |
| 55 | + } |
| 56 | + ] |
15 | 57 | } |
0 commit comments