-
Notifications
You must be signed in to change notification settings - Fork 352
Labels
enhancementNew feature or requestNew feature or request
Description
Motivation
- Debugging is the ultimate tool to quickly review new PRs and enhancements
- Enables to pause the backend at anytime to enhance components while frontend is running separately
- Dissect the event loop at any point
- Detachable debugger instance
Solution
- Currently supports only VScode or VScode based IDEs
Alternatives
No response
Additional context
Current vscode configurations solely dubug the render processes;
{
"name": "Debug Main Process",
"type": "node",
"request": "launch",
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron",
"windows": {
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd"
},
"runtimeArgs": [
"--no-sandbox",
"--remote-debugging-port=9229",
"."
],
"envFile": "${workspaceFolder}/.vscode/.debug.env",
"console": "integratedTerminal"
},
{
"name": "Debug Renderer Process",
"port": 9229,
"request": "attach",
"type": "chrome",
"timeout": 60000,
"skipFiles": [
"<node_internals>/**",
"${workspaceRoot}/node_modules/**",
"${workspaceRoot}/dist-electron/**",
// Skip files in host(VITE_DEV_SERVER_URL)
"http://127.0.0.1:7777/**"
]
},
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request