Skip to content

VSCode Javascript Debugger doesn't hit the breakpoint after few code changes #1803

Closed
@middiu

Description

VSCode Javascript Debugger doesn't hit the breakpoint after few code chjanges.

Steps to Reproduce:

  1. Create a new ReactJS project
  2. Create a launch json file for setting the chrome debugger
  3. Start the browser, do a change in you editor, add a new line, add a breakpoint, save it(you might need to repeat this step for 2-3 times but usually reproduces after the first save)
  4. After the file is saved and the browser refreshes you will observe that your breakpoint will not hit anymore, seems to be a caching issue, after the browser will be restarted then the breakpoint will hit, the dev tools are showing the correct source code.
  5. This worked since a 2-3 weeks ago (I've been on away and didn't code for few weeks)

Other people are facing the issue it seems: microsoft/vscode#189863

Log File
vscode-debugadapter-affae410.json.gz

Version: 1.82.1 (user setup)
Commit: 6509174151d557a81c9d0b5f8a5a1e9274db5585
Date: 2023-09-08T08:45:05.575Z
Electron: 25.8.0
ElectronBuildId: 23503258
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Windows_NT x64 10.0.19044

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions