Chrome 80: Pause Script Execution (F8) Does Not Work When DevTools Is Not Focused
Answer :
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
Comments
Post a Comment