I need to pause script execution in Chrome devtools as soon as possible, more specifically at the moment when no scripts are evaluated yet, or when head scripts are evaluated but body scripts are not.
In Node.js, there's an option to start devtools paused, but in a browser script execution is always resumed by default.
Currently I have to find a suitable random script in Sources tab and place a breakpoint at the beginning, usually it's possible but not guaranteed.
The question primarily applies to Chrome devtools but could be also applicable to Firefox.
How can script execution be automatically paused in devtools every time a window is reloaded?