To debug in IntelliJ you right click on a .html file and select Debug.
Make sure Firefox is closed and any previous debug session is closed.
Getting it to Work
We had a bit of pain getting this working.
Mac OS X Version
I tested 9.0, 9.0.1 but couldn’t get it to work. It is known to work with Maia IU.92.273 which will become 9.0.2. It will install a FireFox plugin called JetBrains Firefox Extension. The version should be 0.2.5. 9 and 9.1 shipped with a 0.1 version of this plugin.
I am using Java 1.6_17.
This is caused by a bug in Firefox 3.5.7 and a few versions back. This problem has been reported on SnowLeopard.
Dyld Error Message: Library not loaded: /usr/lib/libsqlite3.dylib Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security Reason: Incompatible library version: Security requires version 9.0.0 or later, but libsqlite3.dylib provides version 1.0.0
This is a known issue in Firefox. See https://bugzilla.mozilla.org/show_bug.cgi?id=513747
The workaround is to change the Browser config to use firefox-bin rather than firefox. See below.