Larry Bargers Larry Bargers - 1 month ago 22
C# Question

How to setup remote debugging on a machine without Visual Studio

Is there a way to setup Remote Debugging (Msvscom.exe) on a machine that does dot have Visual Studio installed?

I would like to attach to the service running on the VM so I can debug an issue in the code I've done this before but both machines have had VS installed.

The Dev box is running Visual Studio 2010/Widnows 7. The VM is running Windows 7 without Visual Studio.

Answer

certainly there is.
You can install msvsmon without installing visual studio.
I've done this myself on several machines.
the tricky part lays in authorization- the user running VS on your local machine needs special priviliges on the remote machine.
ms has some articles explaining the details- http://msdn.microsoft.com/en-us/library/bt727f1t.aspx,

Comments