mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-27 14:40:44 +00:00
44 lines
1.1 KiB
JSON
44 lines
1.1 KiB
JSON
// A launch configuration that compiles the extension and then opens it inside a new window
|
|
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"name": "Launch Client",
|
|
"runtimeExecutable": "${execPath}",
|
|
"args": ["--extensionDevelopmentPath=${workspaceRoot}"],
|
|
"outFiles": ["${workspaceRoot}/client/out/**/*.js"],
|
|
"preLaunchTask": {
|
|
"type": "npm",
|
|
"script": "watch"
|
|
}
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "attach",
|
|
"name": "Attach to Server",
|
|
"port": 6009,
|
|
"restart": true,
|
|
"outFiles": ["${workspaceRoot}/server/out/**/*.js"]
|
|
},
|
|
{
|
|
"name": "Language Server E2E Test",
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"runtimeExecutable": "${execPath}",
|
|
"args": [
|
|
"--extensionDevelopmentPath=${workspaceRoot}",
|
|
"--extensionTestsPath=${workspaceRoot}/client/out/test",
|
|
"${workspaceRoot}/client/testFixture"
|
|
],
|
|
"outFiles": ["${workspaceRoot}/client/out/test/**/*.js"]
|
|
}
|
|
],
|
|
"compounds": [
|
|
{
|
|
"name": "Client + Server",
|
|
"configurations": ["Launch Client", "Attach to Server"]
|
|
}
|
|
]
|
|
}
|