Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Mar 19, 2012 02:40 AM by nimish
Mar 18, 2012 05:16 PM|LINK
When I debug my asp.net app in VS2010, it opens a browser window with Localhost url consisting port#. Now I have setup URL redirects in Web.config which doesnt work under default localhost/port url.
The website works fine when navigated from IIS7.0 setup url, but then I dont know if I can use that URL for debugging.
In short, I would like to debug my code (stepping, breakpoints etc) on the IIS setup URL - is there way to reference that URL from my VS?
Mar 18, 2012 06:04 PM|LINK
yes you can.... go to the url, type the address of your website.
open the website in your local VS IDE, now go to the tools>> attach to process>> now find aspnet_wp.exe and attach the debugger with this, if you are running on IIS 6 you can attach the debugger with w3wp.exe.
Mar 19, 2012 02:40 AM|LINK
Thanks a bunch, it did help!