mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-06-13 07:10:26 +08:00
This is a new (with js-debug) option that makes debugging child processes much easier. Use it for the LSP subprocesses. Supplants https://github.com/microsoft/vscode-extension-samples/pull/704
18 lines
482 B
JSON
18 lines
482 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}" ],
|
|
"autoAttachChildProcesses": true,
|
|
"sourceMaps": true,
|
|
"outFiles": ["${workspaceFolder}/client/out/**/*.js"],
|
|
"preLaunchTask": "npm: watch"
|
|
}
|
|
]
|
|
}
|