Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork4k
Open
Labels
Description
Prerequisites
- Using npm
- Using an up-to-date
main
branch - Using latest version of devtools.Check the docs for how to update
- Tried solutions mentioned in#400
- For issue in production release, add devtools output of
DEBUG_PROD=true npm run build && npm start
Expected Behavior
Setting breakpoints on main process code and break the execution in those breakpoints.
Current Behavior
The execution doesn't stop in the breakpoints. The breakpoints are disabled during execution (transparent circle, must be red).
Steps to Reproduce
- Click on Run and Debug
- Select Electron: Main or Electron: All
- Press the "run debug" button.
- Set a breakpoint.
- Run the code portion where the breakpoint is setted.
Maybe the launch.json is not properly configured, but i don't know how to fix it.
Context
I'm writing a small utility desktop application in order to help the error checking of a new born product.
The boilerplate has no changes, i only write:app.commandLine.appendSwitch("remote-debugging-port", '9223')
in main.js to fix the render debug (that is not working too without this fix).
Your Environment
- Node version : 23.11.0
- electron-react-boilerplate version or branch : main branch, downloaded today 2024-04-04
- Operating System and version : Windows 11