Inspect a script in chrome debugging without losing the ability to scroll a web page

When I have some breakpoints set in the script, google chrome removes the ability to scroll the webpage by speaking at the top of the screen Paused in debugger. Is there a way to disable this so that I can view elements in different parts of the page, as well as look at the script in the debugger?

+5
source share
2 answers

Taken from here .

An easy workaround to block scrolling is to simply switch to the console and:

window.scrollTo(0, 800). (Replace 800 as needed)

+4
source

"", , , " ". , ...

+3

All Articles