The annoying focus-stealing CF Debugger

I'm posting this as much for my benefit as anyone else's. Everytime I reinstall CF I forgot how to change this. I love using the dockable CF debugging on my sites. It allows me to have all of my debugging information in a handy little popup window for reference. It's better formatted than the classic version, and I can stick it on my second monitor for reference as I go. However, it steals focus every single time a page loads. So, to disable this, just follow these simple steps:

  1. Find the dockable.cfm file at C:\CFusionMX\wwwroot\WEB-INF\debug\dockable.cfm
  2. Find this line: win.focus();
  3. Comment it out like so: //win.focus();
  4. Restart the Coldfusion MX Application server

Problem solved! :)

Posted by Daniel Short on Mar 12, 2005 at 12:00 AM | Categories: ColdFusion - Dreamweaver - Rambling -



Ryan wrote on 03/14/05 8:12 AM

What about the Javascript killing? A coworker turned this on and it seemed to kill some of our client side javascript enough to prevent pages from running. We had to turn it off for our site to work in Development. Any idea what is wrong?
Daniel Short

Daniel Short wrote on 03/14/05 8:12 AM

I'm not sure what you mean by "javascript killing"... Is this something they did in their browser? On the server? In CF Admin?