azure-pipelines-vscode/.vscode/launch.json

69 строки
2.3 KiB
JSON

// 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": "Extension",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}"
],
"outFiles": [
"${workspaceFolder}/dist/**/*.js"
]
},
{
"name": "Extension Tests",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionTestsPath=${workspaceFolder}/out/test/suite/index"
],
"outFiles": [
"${workspaceFolder}/out/test/**/*.js"
]
},
{
"name": "Extension Tests From Server",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"${workspaceFolder}/examples/",
"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionTestsPath=${workspaceFolder}/out/testfromserver"
],
"outFiles": [
"${workspaceFolder}/out/testfromserver/**/*.js"
]
},
{
"name": "Attach to Server",
"type": "node",
"request": "attach",
"port": 6009,
"restart": true,
"outFiles": [
"${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"
]
}
]
}