For remote debugging you need 2 things Visual Studio and the executable that will provide a connection on the remote computer. So first all create a shared folder where we will past the executables. In the start menu you will find in Visual Studio 2010 the VS tools and in that folder you can click on the Visual Studio 2010 Remote debugger folder.
Windows Explorer will open and there are the executables. Very simply copy the folder x86 for a 32 bit remote computer and the x64 for a 64 bit.
Now we are almost finished.We will use the “msvsmon.exe” on the remote computer.
Before you use the executable on the remote computer make sure your firewall is off or allows this executable to make connection. If this starts successful you have this.
This is an import message the server we will connect to has the name <Username User logdin>@<Computername>.So just remember the part between single quotes. Now we will set the permission to debug. Go to tools=> permissions. Here you can add a user and make sure to check the debug option. So that’s all on the remote computer.
Like some may know there is a function in Visual Studio that has the name “Attach to process”. With this function it is possible to debug all the running processes on your computer and on remote computer also. So we have set up the remote computer. Go to Debug=> Attach to process.
Fill in the server name in the qualifier en press enter. You will see that’s he filled the list below. That are all the executables on the remote computer that you can debug. Just click Attach and you are debugging on the remote computer.