Error: The Microsoft Visual Studio Remote Debugging Monitor on the remote computer is running as a different user
For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.
When trying to do remote debugging, you may get the following error message:
The Microsoft Visual Studio Remote Debugging Monitor on the remote computer is running as a different user.
This message occurs when you are debugging in No Authentication mode and the user who started msvsmon is not the user who is running Visual Studio.
The safest and best solution is to run the Remote Debugging Monitor (msvsmon.exe) under the same user account as Visual Studio. If you cannot do that, you can run Remote Debugging Monitor under the other account with the Allow any user to debug option selected in the Remote Debugging Monitor Options dialog box.
Granting other users permission to connect allows the possibility of accidentally connecting to the wrong remote debugging session. Debugging in No Authentication mode is never secure and should be used with caution.
For more information, see Start the Remote Debugging Monitor.