1. Load a page that contains multiple instances of the same script (e.g. within iframes)
2. Set a breakpoint.
3. Observe one breakpoint on breakpoint sidebar.
4. Reload page
5. Observe multiple breakpoints
This is counter-intuitive -- if user sets breakpoint once, it should be shown once, and we do not distinguish (at least, visually) the instances of breakpoints.
Created attachment 54421 [details]
Comment on attachment 54421 [details]
After your change, disabling this 'single' breakpoint in the breakpoints sidebar will only disable one of its 'instances'. I think we should come up with a more solid approach where scripts are matched based on the url + content either on the backend or the front-end side.