Is there any way to scroll down on the page while Chrome is paused in debugger mode without unpausing?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
If your tools are docked, you can undock it to see a bit more.
Another method:
- Go to the Elements tab.
- Right-click on any visible element (i.e. not hidden,
display:none
, etc.). - Choose the "Scroll Into View" context menu entry.
- Chrome will scroll the page if necessary to get the element in the visible portion of the window.
回答2:
Taken from here.
An easy workaround for the scrolling lock-up is to just jump to the console, and:
window.scrollTo(0, 800)
. (Replace 800 as needed)