67 lines
1.5 KiB
JSON
67 lines
1.5 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}/build/**/*.js"
|
|
],
|
|
"preLaunchTask": "npm: webpack-dev"
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"cwd": "${workspaceFolder}",
|
|
"program": "${workspaceFolder}/src/debugadapter.ts",
|
|
"args": [
|
|
"--server=4711"
|
|
],
|
|
"outFiles": [
|
|
"${workspaceFolder}/build/**/*.js"
|
|
]
|
|
},
|
|
{
|
|
"name": "Views",
|
|
"type": "node",
|
|
"request": "attach",
|
|
"preLaunchTask": "npm: watch",
|
|
"stopOnEntry": false
|
|
},
|
|
{
|
|
"name": "Extension Tests",
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"runtimeExecutable": "${execPath}",
|
|
"args": [
|
|
"--extensionDevelopmentPath=${workspaceFolder}",
|
|
"--extensionTestsPath=${workspaceFolder}/out/test/suite/index"
|
|
],
|
|
"outFiles": [
|
|
"${workspaceFolder}/build/test/**/*.js"
|
|
],
|
|
"preLaunchTask": "npm: watch"
|
|
}
|
|
],
|
|
"compounds": [
|
|
{
|
|
"name": "Extension + Server",
|
|
"configurations": ["Extension", "Server"]
|
|
},
|
|
{
|
|
"name": "Extension + Views",
|
|
"configurations": ["Extension", "Views"]
|
|
}
|
|
]
|
|
}
|