Visual Studio command line window - attach to remote process?

I was wondering if it is possible to use command window commands to connect to a remote process? (This is very annoying for remote debugging to scroll through the dialog steps each time.)

0
source share
1 answer

I don't think there is any way to do what you want from the command line. But you must eliminate at least some of the steps in the dialogue.

For example, for C ++, in the project properties, find the Debug tab and change the Debugger to Run to Remote Windows Debugger. Now change the Remote Command to the name of the process you want to connect to, change the name of the remote server to the appropriate host name, and change Attach to "yes". You can also set other properties as desired.

Press F5 (or Debug | Start), and you must connect to the process specified on the remote server that you specified.

+1
source

All Articles