lk135
lk135

Reputation: 1359

Scrolling down in Chrome dev tools when paused in debugger

Is there any way to scroll down on the page while Chrome is paused in debugger mode without unpausing?

Upvotes: 57

Views: 20343

Answers (3)

RobertoCSantosRJ
RobertoCSantosRJ

Reputation: 646

To enable scroll, enter, in console: document.body.style.overflow = 'auto'

Upvotes: 2

Anton
Anton

Reputation: 2341

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)

Upvotes: 37

Rob W
Rob W

Reputation: 349032

If your tools are docked, you can undock it to see a bit more.

Another method:

  1. Go to the Elements tab.
  2. Right-click on any visible element (i.e. not hidden, display:none, etc.).
  3. Choose the "Scroll Into View" context menu entry.
  4. Chrome will scroll the page if necessary to get the element in the visible portion of the window.

Upvotes: 63

Related Questions