Tip #17: Did you know... How to remote debug WAPs that are using IIS?

Posted: Oct 28, 2008  1 comments  

Average Rating

Tags
IIS
tips and tricks
Visual Studio
Visual Studio 2008
VS2008
VWD
WAP

If you want to work on an web application project using IIS that is sitting on another server, you can use the remote debugger and the web property pages in Visual Studio 2008 SP1.

First, open your web application project on the server (e.g. \\server\share), by going to File > Open Project.  If you right click on your project and select Properties, then select the “Web” tab, in the “Servers” section you’ll see “Use Custom Web Server” radio button.

webpropertypages5

With this selected, enter the URL of your web site.  Then, start your remote debugger on the web server.  Now browsers will be launched with that URL, and your breakpoints will be hit.

remotedebugging2

John Dundon
SDET | Visual Web Developer

View the original post

Comments

Submit a Comment

Microsoft Communities