Skip to content

Instantly share code, notes, and snippets.

@booyaa
Last active December 16, 2015 12:19
Show Gist options
  • Select an option

  • Save booyaa/5433957 to your computer and use it in GitHub Desktop.

Select an option

Save booyaa/5433957 to your computer and use it in GitHub Desktop.
Remote debugging of ASP apps hosted on IIS
  1. Remote IIS server: run (as Admin because you need debug privs) msvsmon.exe (Prog Files\VS2010\Common7\IDE\RemoteDebugger\x64|x32)
  2. Make a note the Remote Debugger Monitor Server Name (usually looks like DOMAIN@USERID@SERVERNAME)
  3. Local Visual Studio: Debug > Attach Process > Qualifier = Remote Debugger Monitor Server Name
  4. Refresh and attach to the w3wp.exe process that closely matches your config type: x64, Managed, .NET 4 etc. You'll know you've got the correct process if your breakpoints are active (red dot vs. red circle and warning that breakpoint will not be hit).

Source: http://www.codeproject.com/Articles/38132/Remote-IIS-Debugging-Debug-your-ASP-NET-Applicatio

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment