posts - 4, comments - 7, trackbacks - 0

My Links

News

Archives

Post Categories

Debug localhost with Fiddler 2

If you don't already have Fiddler, get it.

The problem:

Web traffic to and from your local ASP.NET development server is not captured by Fiddler 2.

The solution:

Replace "localhost" in the request with "somesite.com".  Somesite just loops back to 127.0.0.1 (localhost), but Fiddler will now capture the request.

For example:

Change http://localhost:4028/devsite/Default.aspx to http://somesite.com:4028/devsite/Default.aspx.

Print | posted on Friday, February 06, 2009 4:58 PM | Filed Under [ Debugging ASP.NET ]

Feedback

Gravatar

# re: Debug localhost with Fiddler 2

Thanks for the post.

A quick note, to load have you project load with this url automatically, set the Start URL in the project Property Pages to

http://somesite.com:XXXX/Site/startpage.aspx

where XXXX is the port of the VS web server.

You might need to change the port each time you re-start Visual Studio.
2/26/2009 10:59 AM | Dave Hetesi
Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification:
 
 

Powered by: