-
Notifications
You must be signed in to change notification settings - Fork 82
Migrate to Debugger.setBreakpointByUrl #1076
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
Comments
Would the URL point into the |
The URL would point to the containing module of the Dart file which would be a |
grouma
added a commit
that referenced
this issue
Aug 3, 2020
- Use `setBreakpointsByUrl` to set breakpoints using a regex based on the module path - Chrome now handles re-establishing breakpoints upon refresh so remove the corresponding deprecated argument Closes #1076
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We currently set breakpoints by script ID. This has a number of drawbacks, especially around re-establishing breakpoints. There is an API to set breakpoints by URL. This API has the benefit of persisting across reloads.
The text was updated successfully, but these errors were encountered: