0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00
astro/.vscode/launch.json
Matthew Phillips 5293519470
Fix GoToDefinition for component imports (and component usage) (#1045)
* Fix GoToDefinition for component imports (and component usage)

* Remove extra comment
2021-08-09 12:03:32 -04:00

29 lines
814 B
JSON

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