Freigeben über


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

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

Comments

  • Anonymous
    October 29, 2008
    My latest in a series of the weekly, or more often, summary of interesting links I come across related to Visual Studio. The Web Developer Team announced that the official IntelliSence documentation file, which provides Rich IntelliSense for jQuery ,

  • Anonymous
    November 13, 2008
    The comment has been removed