Add add all to dev menu, hot reloading for main, and log cleanup.

This commit is contained in:
Patrick FIc
2025-03-31 12:12:39 -07:00
parent ce6e9873a0
commit 38cdb1e04c
5 changed files with 146 additions and 14 deletions

25
.vscode/launch.json vendored
View File

@@ -25,8 +25,23 @@
"presentation": {
"hidden": true
}
},
{
"name": "Debug Main Process w/ Hot Reloading",
"type": "node",
"request": "launch",
"cwd": "${workspaceRoot}",
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron-vite",
"windows": {
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron-vite.cmd"
},
"runtimeArgs": ["--sourcemap", "--watch"],
"env": {
"REMOTE_DEBUGGING_PORT": "9222"
}
}
],
"compounds": [
{
"name": "Debug All",
@@ -34,6 +49,16 @@
"presentation": {
"order": 1
}
},
{
"name": "Debug All (Hot Reload)",
"configurations": [
"Debug Main Process w/ Hot Reloading",
"Debug Renderer Process"
],
"presentation": {
"order": 1
}
}
]
}