I am loading an HTML page in my browser from a web site. As far as I understand, the browser loads the page first, then starts executing the JavaScript code on it.
Question: How can I pause the JavaScript execution in Google Chrome as soon as the page is done loading, and then start it after, manually?
What I am trying to achieve is to load the page in a browser (any browser, but preferably Google Chrome), but edit the javascript code before it starts executing.
onloadhandler, to execute a script once the page loads. Also, Chrome has built-in developer tools to set breakpoints and debug the javascript.