Piotr Owsiak
Piotr Owsiak

Reputation: 6259

How to ad hoc (not as a service) run Visual Studio 2010 Remote Debugger (msvsmon.exe) without UI (i.e. from PsExec)?

Is there a way to ad hoc (not as a service) run Visual Studio 2010 Remote Debugger (msvsmon.exe) without UI (i.e. from PsExec)?

I want to be able to run msvsmon without logging in to the server via Remote Desktop. Also running msvsmon as a service is too risky.

Upvotes: 0

Views: 282

Answers (1)

Luke Kim
Luke Kim

Reputation: 1056

msvsmon.exe can be run from the command line and setup using command line arguments. You can get a list of these using /?.

So the answer is yes. PsExec will just execute a command remotely. You would have to either install/xcopy the remote debugger to the remote machine, then use PsExec along with a suitable msvsmon.exe command line to start it.

Upvotes: 1

Related Questions