Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Prevent chrome from stealing focus

Is there a way to prevent the chrome dev tools from stealing the focus if you stop the debugger / reach a breakpoint?

I'm debugging with intellij js debug and chrome is stealing its focus on every step.

like image 430
LandoR Avatar asked Mar 07 '18 19:03

LandoR


People also ask

How do I keep Chrome tabs in focus?

Focus Mode in ChromeLoad chrome://flags/#focus-mode. Set the flag to Enabled. Restart Google Chrome.

Is Google Chrome stealing my data?

In its latest report, McAfee has named Google Chrome extensions that may be stealing user's data. As per the report, these extensions are infected with malware and appear as cookies every time a user visits any e-commerce platform.

What is focus mode in Chrome?

FocusMode makes you think before you ended up mindlessly scrolling when browsing the web. Only access distracting websites with an informed decision, no more wasting time without you realised. Instead of forcing you to stay focused, this extension gives you options to take a break or turn off focus mode easily.


1 Answers

In the Chrome DevTools Settings under Preferences -> Sources, there is an option "Focus Sources panel when triggering a breakpoint". Disabling this option seems to fix the issue.

like image 153
Jignacio Avatar answered Sep 19 '22 17:09

Jignacio