Files
filteredandGitHub 231b3821dc [Dev] Improve debugging & launching (#887)
* Allow vite build --watch without app launch

* Use default frontend dev URL in env example

* Fix regression in yarn start

* Add native vscode debugging and build watch tasks

* Update README with new debugging and build info

* Fix app won't start in vscode debugger
2025-02-12 10:02:57 +11:00

35 lines
906 B
JSON

{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Electron: Main",
"autoAttachChildProcesses": true,
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron",
"windows": {
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron.cmd"
},
"runtimeArgs": ["--remote-debugging-port=9223", "."],
"env": {
"ELECTRON_ENABLE_LOGGING": "true",
"ELECTRON_ENABLE_STACK_DUMPING": "true",
"NODE_DEBUG": "true"
},
"outFiles": [
"${workspaceFolder}/.vite/**/*.js",
"${workspaceFolder}/.vite/**/*.js.map"
],
"outputCapture": "std"
},
{
"name": "Electron: Renderer",
"type": "chrome",
"request": "attach",
"port": 9223,
"webRoot": "${workspaceFolder}",
"timeout": 30000
}
]
}