Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I pause a web page?

I would like to inspect a web page which has a lot of DOM animation on it. Is there a Chrome plugin or any way to pause the webpage?

For example a Chrome button to pause the Javascript would do the trick.

like image 376
yazz.com Avatar asked Apr 05 '15 05:04

yazz.com


People also ask

Can you pause Chrome?

Modern versions of Chrome will pause execution when you press the pause shortcut key while focused in either the Dev Tools window or the main content window (if the DevTools are open), and regardless of which DevTools tab is active. No additional setup or extensions required.


1 Answers

Yes, just run debugger; in the console.

It will immediately break the execution at this very statement.

like image 139
zerkms Avatar answered Sep 21 '22 07:09

zerkms