Fiddler for Firefox
In my tools talk at DevReach earlier this week I mentioned that I use Fiddler with IE and FireBug with Firefox to see HTTP traffic involved in loading and working with a given web page/site. I said in the talk that Fiddler only works with IE, but that's not entirely true as Ivo Evtimov was kind enough to point out to me. You can configure Firefox to work with Fiddler, but you have to do so manually each time you want to do it (whereas Fiddler just works with IE, and Firebug just works with FF).
In order to configure FF to work with Fiddler, you have to set it up as a proxy server. You'll find this under FireFox's options, which in FF3 is under Tools -> Options -> Advanced -> Network.
Next go to Settings.
And configure it to use 127.0.0.1 and port 8888 by default. You can check which port Fiddler is listening on by going to Fiddler's Tools -> Fiddler Options menu and looking at its Listen Port. I have mine set to 8889 because I have other web sites using 8888. Just be sure they match.
Once you have these set up, you can make requests in FireFox or IE and have all of the traffic captured within Fiddler. However, when you shut down Fiddler you'll need to manually reset your proxy to No Proxy in FireFox. Also note that if you're trying to test something on localhost, remove that from the No Proxy For list in FireFox's settings.
Thanks again to Ivo Evtimov for following up on this!




Comments
Sonu Kapoor said on 19 Oct 2008 at 12:51 PM
I use Firebug with Firefox as well and I would never replace it with fiddler. The fact that I can inspect elements/dom etc.. with firebug works so much easier and is much more robust then what fiddler offers.
I wish I could use Firebug with IE. The firebug-light version that can be used for IE, just doesnt do it for me.
Ben Scheirman said on 20 Oct 2008 at 10:09 AM
IIRC you can use Firefox with Fiddler without jumping through those hoops.
Try it out placing a '.' after localhost...
like this:
localhost./.../somePage.aspx
Luciano Evaristo Guerche (Gorše) said on 20 Oct 2008 at 10:23 AM
Instead, I'd rather use Live HTTP Headers (https://addons.mozilla.org/pt-BR/firefox/addon/3829) and/or HttpFox (https://addons.mozilla.org/pt-BR/firefox/addon/6647)
--
Luciano Evaristo Guerche (Gorše)
Taboão da Serra, SP, Brazil
Ivo Evtimov said on 20 Oct 2008 at 10:44 AM
There is another option - to use
autoconfiguration proxy url.
The autoconfiguration url is file:///c:%5Cdocuments%20and%20settings%5CYOURNAMEHERE%5Cmy%20documents%5CFiddler2%5Cscripts%5Cbrowserpac.js on XP, or file:///c:%5Cusers%5CYOURNAMEHERE%5Cdocuments%5CFiddler2%5Cscripts%5Cbrowserpac.js on Vista.
For more info on how to congigure Fiddler to work with other apps - www.fiddlertool.com/.../hookup.asp
@Ben Scheirman - the problem is not to capture the local traffic. This is a great solution but of a different problem :)
Joe Brinkman said on 21 Oct 2008 at 11:08 AM
The autoconfiguration proxy is what I use although I have had turn off the auto-proxy when I shutdown fiddler as otherwise FF seems to have problems.
Eric Lawrence said on 25 Nov 2008 at 5:09 PM
Fiddler "automatically" works with IE, Safari, Chrome, and Opera. Firefox does not support the Windows API for proxy change notifications.
There's a special section on Firefox here: www.fiddler2.com/.../hookup.asp
Eric Lawrence said on 25 Nov 2008 at 5:10 PM
@Joe: If you restart Firefox (or click the "Reload" button" on their connection settings screen) then their autoconfiguration code will go reload the browserpac.js file and either attach or detach Fiddler as appropriate.