Search code examples
c#asp.netvisual-studio-2010iis-7.5remote-debugging

Debug ASP.NET application running on remote IIS Server from VS2010


Just wondered if anyone could point me in the right direction here?

I'm trying to debug a deployed web application and can't seem to get the attach to work. Here's the scenario:

VS2010 installed on my machine - with all source code.

IE8 on my machine browsing to ASP.NET site on production IIS server (FWIW .pdb files on production site.)

When I attach the debugger to the IE session, and continue browsing the site, no breakpoint is ever hit... so effectivly I don't think I'm really debugging the site!??

I'm guessing that I need some kind of remote debugging set up? If that's the case, if anyone knows of any URL to help that would be much appreciated!

Thanks in advance!

Jim


Solution

  • Here's a good article to do just that:

    http://msdn.microsoft.com/en-us/library/bt727f1t.aspx

    Install the remote debugging components on the remote computer and launch the Remote Debugging Monitor (msvsmon.exe) when you start debugging