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": [
|
|
|
|
{
|
|
|
|
"name": "Launch Client",
|
2021-05-08 15:35:20 +00:00
|
|
|
"type": "extensionHost",
|
|
|
|
"request": "launch",
|
2021-05-03 18:26:10 +00:00
|
|
|
"runtimeExecutable": "${execPath}",
|
2021-05-08 15:35:20 +00:00
|
|
|
"args": ["--extensionDevelopmentPath=${workspaceRoot}/tools/astro-vscode"],
|
|
|
|
"outFiles": ["${workspaceRoot}/tools/astro-vscode/dist/**/*.js"]
|
2021-05-03 18:26:10 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "attach",
|
|
|
|
"name": "Attach to Server",
|
|
|
|
"port": 6040,
|
|
|
|
"restart": true,
|
2021-05-08 15:35:20 +00:00
|
|
|
"outFiles": ["${workspaceRoot}/tools/astro-languageserver/dist/**/*.js"],
|
|
|
|
"skipFiles": ["<node_internals>/**"]
|
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
|
|
|
}
|