32 lines
863 B
JSON
32 lines
863 B
JSON
// A launch configuration that compiles the extension and then opens it inside a new window
|
|
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"type": "pwa-extensionHost",
|
|
"request": "launch",
|
|
"name": "Launch Client",
|
|
"runtimeExecutable": "${execPath}",
|
|
"args": ["--extensionDevelopmentPath=${workspaceRoot}"],
|
|
"outFiles": ["${workspaceRoot}/tools/astro-vscode/dist/**/*.js"],
|
|
"preLaunchTask": {
|
|
"type": "npm",
|
|
"script": "build:vscode"
|
|
}
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "attach",
|
|
"name": "Attach to Server",
|
|
"port": 6040,
|
|
"restart": true,
|
|
"outFiles": ["${workspaceRoot}/tools/astro-languageserver/dist/**/*.js"]
|
|
}
|
|
],
|
|
"compounds": [
|
|
{
|
|
"name": "Launch Extension",
|
|
"configurations": ["Launch Client", "Attach to Server"]
|
|
}
|
|
]
|
|
}
|