Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork4k
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
When the debugger is invoked, execution is paused at thedebugger;
statement.
Current Behavior
Execution is not paused at thedebugger;
statement.
Steps to Reproduce
Clone the repository
Replace src/renderer/main.tsx contents with the following simple script:
debugger;console.log('hi')
Launch the application via
npm start
Observe the console which says
hi
and doesn't stop the execution ondebugger;
statement
Possible Solution (Not obligatory)
Im really not sure what is happening here. The fact that application opens with devtools ready and just skips the legitdebugger;
statement looks surreal.
Context
Reproducable with a pristine boilerplate where just the renderer entrypoint is replaced with simple confirmation case. Adding debugger; to the default index.tsx would yield the same result - code execution is not paused when application is launched on the said statement and app is running ignoring it.
Your Environment
- Node version : v22
- electron-react-boilerplate version or branch : main branch cloned
- Operating System and version : MacOS 15.3.2
- Link to your project : private