-
Notifications
You must be signed in to change notification settings - Fork 282
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
Breakpoints in files without a sourcemap don't get hit if executed early #79
Comments
Seems to be a thing that happens on all non-sourcemapped scripts. You can try this by setting a breakpoint on a script file containing only On sourcemap scripts we have the debugging pause to load maps and then set breakpoint before continuing, but there's no such pause on other scripts. It looks like a simple race condition. |
In v1 if your breakpoint is in a .js file, we try to set a breakpoint by url for that filename. This is what I call "optimistic breakpoints" and there is a setting to disable it, as a hack for cases where it causes issues. If that doesn't work, then in chrome, you can reload the page... |
We already already doing this:
I suspect we just would need to wait for the 'configurationDone' event before calling runIfWaitingForDebugger. |
#78
The text was updated successfully, but these errors were encountered: