Skip to content

Commit

Permalink
launch.json: add compound config to debug main and renderer from one …
Browse files Browse the repository at this point in the history
…launch
  • Loading branch information
bpasero committed Mar 23, 2017
1 parent 235b8ed commit a03a09b
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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"]
}
]
}

0 comments on commit a03a09b

Please sign in to comment.