Skip to content

Commit

Permalink
Add debugging configuration for renderer process
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverschwendener committed Jan 8, 2025
1 parent ba63748 commit 2e954b8
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,29 @@
"windows": {
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron.cmd"
},
"args": [".", "--remote-debugging-port=9229"],
"args": [".", "--remote-debugging-port=9222"],
"outputCapture": "std",
"preLaunchTask": "Before Debug"
},
{
"name": "Debug Renderer Process",
"port": 9222,
"request": "attach",
"type": "chrome",
"webRoot": "${workspaceFolder}/src/renderer",
"timeout": 60000,
"presentation": {
"hidden": true
}
}
],
"compounds": [
{
"name": "Debug All",
"configurations": ["Debug Main Process", "Debug Renderer Process"],
"presentation": {
"order": 1
}
}
]
}

0 comments on commit 2e954b8

Please sign in to comment.