Debugging .NET Applications With Fiddler

If you want to debug a .NET application with Fiddler, you can force the application to proxy through Fiddler by adding this section to the application’s web.config or app.config:

<!-- The following section is to force use of Fiddler for all applications, including those running in service accounts -->  <>
  <proxy autoDetect="false" bypassonlocal="false" proxyaddress="" usesystemdefault="false" />

Fiddler listens on port 8888 by default, but if you are on a shared system, you might run into a situation where that port is already in use by other users who are also using Fiddler.

In this case, you can easily change the port that your Fiddler is listening on under TOOLS | OPTIONS | CONNECTIONS tab:


If you change the port, be sure to also change it in the proxyaddress URL in the configuration above.

For reference, here’s the relevant Fidder documentation page for this topic:


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s