launch.json: add compound config to debug main and renderer from one launch
This commit is contained in:
parent
235b8edf6b
commit
a03a09b4b4
1 changed files with 23 additions and 1 deletions
24
.vscode/launch.json
vendored
24
.vscode/launch.json
vendored
|
@ -85,6 +85,17 @@
|
|||
"${workspaceRoot}/out/**/*.js"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "node",
|
||||
"request": "attach",
|
||||
"name": "Attach to Main Process",
|
||||
"protocol": "legacy",
|
||||
"port": 5875,
|
||||
"sourceMaps": true,
|
||||
"outFiles": [
|
||||
"${workspaceRoot}/out/**/*.js"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "extensionHost",
|
||||
"request": "launch",
|
||||
|
@ -134,7 +145,18 @@
|
|||
"linux": {
|
||||
"runtimeExecutable": "${workspaceRoot}/scripts/code.sh"
|
||||
},
|
||||
"urlFilter": "*index.html*"
|
||||
"urlFilter": "*index.html*",
|
||||
"runtimeArgs": [
|
||||
"${workspaceRoot}",
|
||||
"--debug=5875"
|
||||
],
|
||||
"webRoot": "${workspaceRoot}"
|
||||
}
|
||||
],
|
||||
"compounds": [
|
||||
{
|
||||
"name": "Debug VS Code Main and Renderer",
|
||||
"configurations": ["Launch VS Code", "Attach to Main Process"]
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in a new issue