Using Fiddler with non-Internet Explorer Browsers
This is not particular insightful tip, but often when I use Fiddler for debugging non-IE requests with customers or during training sessions I hear they didn’t know that they can use Fiddler with any browser, not just IE.
I’m working with a customer today regarding a funky Session and Cookie problem in their application and we’ve been using Fiddler to track through the HTTP sessions. Fiddler is easy to use and provides a nice easy interface to look at the result content. I especially like the Raw view that was added in the latest version to let you see the raw HTTP client request and raw response that includes all of the headers…
Anyway as we were working through this problem we found out that the issue came primarily through non-IE browsers. Fiddler is primarily touted as an Internet Explorer add-in, but several of the developers I worked with today didn’t realize that you can actually use it with any browser. Fiddler works as a proxy server and it just happens that it automatically configures Internet Explorer’s Proxy settings so that as soon as you start Fiddler, IE automatically uses the proxy. Other browser do not…
But... Fiddler is a standalone application and because it is essentially a Proxy server that intercepts and picks up your request data, you can use it with any browser including FireFox.
All you need to do is:
- Open FireFox options
- Go to General | Connection Settings
- Use the Manual proxy configuration option
- Set t 127.0.0.1 Port 8888
If you forget the port number, you can look up the port Fiddler is listening on in the Fiddler options.
Make sure you remember to remove the proxy settings when you’re done in FireFox…
The Voices of Reason
# re: Using Fiddler with non-Internet Explorer Browsers
# re: Using Fiddler with non-Internet Explorer Browsers
Found a snipit used to dynamically set firefox proxy settings. However, how do we set a status in OnAttach(), unset it in OnDetach(), and use it in proxy.pac. A user environment variable? A temp file stored in a predictable place?
Rob
# re: Using Fiddler with non-Internet Explorer Browsers
See http://www.fiddlertool.com/fiddler/help/hookup.asp for more info.
# re: Using Fiddler with non-Internet Explorer Browsers
# re: Using Fiddler with non-Internet Explorer Browsers
Fiddler automatically writes a file containing autoconfiguration settings on startup and shutdown.
See http://www.fiddlertool.com/fiddler/help/hookup.asp for more info.
"
This works fine with firefox, thanks (for other readings check this section from the link: [How can I configure other browsers to use Fiddler?])
The only drawback: when we shutdown fiddler, we need to restart firefox or reload the autoconfig in connection settings. This is automatic for ie.
# re: Using Fiddler with non-Internet Explorer Browsers
# re: Using Fiddler with non-Internet Explorer Browsers
# re: Using Fiddler with non-Internet Explorer Browsers
:)
# re: Using Fiddler with non-Internet Explorer Browsers