Chrome 80: Pause script execution (F8) does not work when DevTools is not focused

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


WORKAROUND

You can use option Break on -> subtree modifications

It helps me to stop script execution instead of using f8 functionality.

Steps: 1. Turn on 'Break on' for element you need to debug 2. Make some changes (hover or open drop down list as in my situation) 3. Browser will pause script execution

I turn on this for debugged element