Sometimes, in a large clientside webapp, it's necessary to identify which line of code has scrolled the document with a scrollTo()
call (or if this is even the cause of the scroll*).
Is there any Chrome DevTools feature which will break JS execution on a window scroll? I'm imagining a feature similar to the DOM Breakpoints feature.
* Scrolling can also happen for other reasons, such as text input in an offscreen <input>
.