Go to the destination pc and copy the files from the location below to somewhere sensible - or the desktop in my case!:-
C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\Remote Debugger\x86 (for 32 bit cpu)
C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\Remote Debugger\x64 (for 64 bit cpu)
This is quite a fudge, but necessary to get this to work I’m afraid! - you have to create local version of the domain account you are wanting to remote debug with on both machines (you might only have to do this on the remote machine - but I didn’t take and chances!)
- REMEMBER you must uncheck the change password on first login and password will expire!
Set the password of the local account to be the same as the domain account (I had to disable password complexity on the remote server to allow me to add the account!)
Add the new account in as a local administrator (or global if the machine is a DC)
Right click on the file called msvsmon.exe and select run as - fill in the details of the newly create local account and select run.
Step 5:Open your project in visual studio and select Debug from the menu and then Attach to process.
In the Qualifier box enter the ip address of the remote PC, and if the below message pops up select unblock remote debugging from any computer
Attach to the process you wish to debug! In my case this was w3wp.exe, but this may be differant in your case!
Nice an easy:)