since Chrome 80 I cannot pause the script execution when the focus is on the website I'm developing. This is extremely inconvenient e.g. when debugging hover effects.
Does anyone else experience this issue or has more information about it? Maybe a feature flag deep inside the browser settings?
Update
This was fixed in Chrome 83.
Pausing script execution is F8 (when looking at the Sources tab, as of Chrome 45) or Ctrl + / .
Go to the "Sources" tab. At the top right hand side, toggle the button that looks like the pause symbol surrounded by a hexagon (button on the far right) until the color of the circle turns black to turn it off. If the pause symbol isn't blue it may be that you've accidentally marked a line for debugging inspection.
In Chrome, pressing the F12 key or Ctrl + Shift + I (or Command + option + I on a Mac) also brings up the interactive developer tools.
Until it is fixed, you can use the following in your app:
document.addEventListener('keydown', function (e) {
if (e.keyCode == 119) { // F8
debugger;
}
}, {
capture: true
});
It's a bug in Chrome, I found the bugreport here:
https://bugs.chromium.org/p/chromium/issues/detail?id=1049910&q=f8&can=2
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With