mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
34 lines
822 B
JSON
34 lines
822 B
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=${workspaceFolder}" ],
|
|
"stopOnEntry": false,
|
|
"sourceMaps": true,
|
|
"outFiles": ["${workspaceFolder}/client/out/**/*.js"],
|
|
"preLaunchTask": "npm: watch"
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "attach",
|
|
"name": "Attach to Server",
|
|
"address": "localhost",
|
|
"protocol": "inspector",
|
|
"port": 6011,
|
|
"sourceMaps": true,
|
|
"outFiles": ["${workspaceFolder}/server/out/**/*.js"]
|
|
}
|
|
],
|
|
"compounds": [
|
|
{
|
|
"name": "Client + Server",
|
|
"configurations": ["Launch Client", "Attach to Server"]
|
|
}
|
|
]
|
|
}
|