0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00
astro/.vscode/launch.json

30 lines
832 B
JSON
Raw Normal View History

// A launch configuration that compiles the extension and then opens it inside a new window
{
2021-05-03 13:26:10 -05:00
"version": "0.2.0",
"configurations": [
{
"name": "Launch Client",
"type": "extensionHost",
"request": "launch",
2021-05-03 13:26:10 -05:00
"runtimeExecutable": "${execPath}",
"args": ["--extensionDevelopmentPath=${workspaceRoot}/tools/astro-vscode"],
"outFiles": ["${workspaceRoot}/tools/astro-vscode/dist/**/*.js"]
2021-05-03 13:26:10 -05:00
},
{
"type": "node",
"request": "attach",
"name": "Attach to Server",
"port": 6040,
"restart": true,
"outFiles": ["${workspaceRoot}/tools/astro-languageserver/dist/**/*.js"],
"skipFiles": ["<node_internals>/**"]
2021-05-03 13:26:10 -05:00
}
],
"compounds": [
{
"name": "Launch Extension",
"configurations": ["Launch Client", "Attach to Server"]
}
]
}