launch.json: add compound config to debug main and renderer from one launch

This commit is contained in:
Benjamin Pasero 2017-03-23 06:45:47 -07:00
parent 235b8edf6b
commit a03a09b4b4

24
.vscode/launch.json vendored
View file

@ -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"]
}
]
}