Remote debugging - 2008 steps

by alski 18. August 2009 12:08

·         Log on to Server as local admin account e.g. User,

o   Run Visual Studio remote debugger remotely (Deployed to Dev workstation as part of Visual Studio install, can be installed on server).

o   Transport qualifier will be shown in first line as <User>@<Server>

o   Add Developer to Permissions in remote debugger. (Menu item)

o   Optionally - Use IISApp.vbs to determine which process ID is hosting your website

·         On Developer Machine

o   Add new local User (with same password as Server) to your local machine as an Administrator

o   Allow cross user debugging

§  Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Machine Debug Manager]
"AllowLaunchAsOtherUser"=dword:00000001

o   Open VS

o   Open Debug->Attach to Processes (Ctrl-Alt-P)

o   In the transport Qualifier change from your local machine to the value shown on remote machine as <User>@<Server>

o   Click Refresh

o   Jump down to w3wp.exe, select the correct process ID

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

Hardware | VisualStudio | Work

Powered by BlogEngine.NET 1.4.5.0
Theme by Mads Kristensen

RecentComments

Comment RSS