mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-06-13 07:10:26 +08:00
27 lines
731 B
JSON
27 lines
731 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=${workspaceRoot}" ],
|
|
"stopOnEntry": false,
|
|
"sourceMaps": true,
|
|
"outFiles": ["${workspaceRoot}/client/out/**/*.js"],
|
|
"preLaunchTask": "npm: watch:client"
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "attach",
|
|
"name": "Attach to Server",
|
|
"address": "localhost",
|
|
"protocol": "inspector",
|
|
"port": 6009,
|
|
"sourceMaps": true,
|
|
"outFiles": ["${workspaceRoot}/server/out/**/*.js"]
|
|
}
|
|
]
|
|
} |