2018-08-01 18:00:40 +03:00
|
|
|
// 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
|
|
|
|
{
|
2019-09-04 14:15:18 +03:00
|
|
|
"version": "0.2.0",
|
2018-08-01 18:00:40 +03:00
|
|
|
"configurations": [
|
|
|
|
{
|
|
|
|
"name": "Extension",
|
|
|
|
"type": "extensionHost",
|
|
|
|
"request": "launch",
|
|
|
|
"runtimeExecutable": "${execPath}",
|
|
|
|
"args": [
|
|
|
|
"--extensionDevelopmentPath=${workspaceFolder}"
|
|
|
|
],
|
|
|
|
"outFiles": [
|
2021-02-01 03:52:18 +03:00
|
|
|
"${workspaceFolder}/dist/**/*.js"
|
2018-10-24 21:53:46 +03:00
|
|
|
]
|
2018-08-01 18:00:40 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Extension Tests",
|
|
|
|
"type": "extensionHost",
|
|
|
|
"request": "launch",
|
|
|
|
"runtimeExecutable": "${execPath}",
|
|
|
|
"args": [
|
|
|
|
"--extensionDevelopmentPath=${workspaceFolder}",
|
2021-01-29 18:37:51 +03:00
|
|
|
"--extensionTestsPath=${workspaceFolder}/out/test/suite/index"
|
2018-08-01 18:00:40 +03:00
|
|
|
],
|
|
|
|
"outFiles": [
|
|
|
|
"${workspaceFolder}/out/test/**/*.js"
|
2018-10-24 21:53:46 +03:00
|
|
|
]
|
2018-09-06 22:06:58 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Extension Tests From Server",
|
|
|
|
"type": "extensionHost",
|
|
|
|
"request": "launch",
|
|
|
|
"runtimeExecutable": "${execPath}",
|
|
|
|
"args": [
|
2021-01-20 19:48:09 +03:00
|
|
|
"${workspaceFolder}/examples/",
|
2018-09-06 22:06:58 +03:00
|
|
|
"--extensionDevelopmentPath=${workspaceFolder}",
|
|
|
|
"--extensionTestsPath=${workspaceFolder}/out/testfromserver"
|
|
|
|
],
|
|
|
|
"outFiles": [
|
|
|
|
"${workspaceFolder}/out/testfromserver/**/*.js"
|
2018-10-24 21:53:46 +03:00
|
|
|
]
|
2018-11-06 00:06:07 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Attach to Server",
|
|
|
|
"type": "node",
|
|
|
|
"request": "attach",
|
|
|
|
"port": 6009,
|
|
|
|
"restart": true,
|
2019-09-04 14:15:18 +03:00
|
|
|
"outFiles": [
|
2021-01-20 19:48:09 +03:00
|
|
|
"${workspaceFolder}/../azure-pipelines-language-server/language-server/out/**/*.js",
|
|
|
|
"${workspaceFolder}/../azure-pipelines-language-server/language-service/lib/**/*.js"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"compounds": [
|
|
|
|
{
|
|
|
|
"name": "Launch Extension & Attach to Server",
|
|
|
|
"configurations": [
|
|
|
|
"Extension",
|
|
|
|
"Attach to Server"
|
2019-09-04 14:15:18 +03:00
|
|
|
]
|
2018-08-01 18:00:40 +03:00
|
|
|
}
|
|
|
|
]
|
2021-01-20 19:48:09 +03:00
|
|
|
}
|