Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Execution is NOT paused at the debugger statement in renderer code. #3704

Open
Labels
@ilya-lopukhin

Description

@ilya-lopukhin

Prerequisites

  • Using npm
  • Using an up-to-datemain 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 ofDEBUG_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

  1. Clone the repository

  2. Replace src/renderer/main.tsx contents with the following simple script:

debugger;console.log('hi')
  1. Launch the application vianpm start

  2. Observe the console which sayshi 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp