Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webstorm debugger opens wrong file of same name when hitting a breakpoint #154

Open
nunoguedelha opened this issue Nov 5, 2022 · 2 comments
Assignees
Labels
third party bug Bug from a third party module or package

Comments

@nunoguedelha
Copy link
Collaborator

Issue Description

If a breakpoint is set on a given file, the debugger will stop on any other file with same name (but different folder path) run before the expected file.

This happened when debugging with Webstorm a Javascript client app running on the browser.

@nunoguedelha nunoguedelha added the third party bug Bug from a third party module or package label Nov 5, 2022
@nunoguedelha nunoguedelha self-assigned this Nov 5, 2022
@nunoguedelha
Copy link
Collaborator Author

@nunoguedelha
Copy link
Collaborator Author

As suggested in https://youtrack.jetbrains.com/issue/WEB-24860, two workarounds are possible:

  • Place "debugger" directly into the code (instead of activating a breakpoint in Webstorm),
  • Add a (dummy) breakpoint condition.

We'll close this issue when they release a permanent fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
third party bug Bug from a third party module or package
Projects
None yet
Development

No branches or pull requests

1 participant