How to: Debug Web Applications on a Remote Server
This topic applies to:
Pro and Team
Does not apply
Command or commands hidden by default.
With the Visual Studio debugger, you can debug a Web application transparently on the local computer or a remote server. This means that the debugger functions the same way and allows you to use the same features on either computer. For remote debugging to work correctly, however, there are some prerequisites.
Visual Studio remote debugging components must be installed on the server you want to debug. For more information, see Setting Up Remote Debugging.
By default, the ASP.NET worker process runs as an ASPNET user process. As a result, you must have Administrator privileges on the computer where ASP.NET runs to debug it. The name of the ASP.NET worker process varies by debug scenario and version of IIS. For more information, see How to: Find the Name of the ASP.NET Process.
In Visual C++, the project must be set up to connect by using DCOM instead of TCP/IP. To set this property, follow these steps:
To enable Visual C++ projects to connect through DCOM
Open the <Project>Property Pages dialog box.
Open the Configuration Properties node if not already opened.
Select the Debugging node under Configuration Properties.
Choose Remote Windows Debugger under Debugger to launch.
Choose Remote with Windows authentication under Connection.
For more information, see Project Settings for a C or C++ Debug Configuration.