2021-03-25 15:38:17 +00:00
|
|
|
// A launch configuration that compiles the extension and then opens it inside a new window
|
|
|
|
{
|
2021-05-03 18:26:10 +00:00
|
|
|
"version": "0.2.0",
|
|
|
|
"configurations": [
|
|
|
|
{
|
2021-05-05 17:44:31 +00:00
|
|
|
"type": "pwa-extensionHost",
|
2021-05-03 18:26:10 +00:00
|
|
|
"request": "launch",
|
|
|
|
"name": "Launch Client",
|
|
|
|
"runtimeExecutable": "${execPath}",
|
2021-05-05 17:44:31 +00:00
|
|
|
"args": ["--extensionDevelopmentPath=${workspaceRoot}"],
|
|
|
|
"outFiles": ["${workspaceRoot}/tools/astro-vscode/dist/**/*.js"],
|
2021-05-03 18:26:10 +00:00
|
|
|
"preLaunchTask": {
|
|
|
|
"type": "npm",
|
2021-05-05 17:44:31 +00:00
|
|
|
"script": "build:vscode"
|
2021-05-03 18:26:10 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "attach",
|
|
|
|
"name": "Attach to Server",
|
|
|
|
"port": 6040,
|
|
|
|
"restart": true,
|
2021-05-05 17:44:31 +00:00
|
|
|
"outFiles": ["${workspaceRoot}/tools/astro-languageserver/dist/**/*.js"]
|
2021-05-03 18:26:10 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"compounds": [
|
|
|
|
{
|
|
|
|
"name": "Launch Extension",
|
|
|
|
"configurations": ["Launch Client", "Attach to Server"]
|
|
|
|
}
|
|
|
|
]
|
2021-03-25 15:38:17 +00:00
|
|
|
}
|