Debugging code running on Remote machine
November 22, 2019
Before performing below steps, you need to make sure you have pdb files matching dll version on the remote machine.
Open below folder in your remote machine
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Remote Debugger\x64
Open that folder and launch as admin** msvsmon.exe**
Select all options to allow firewall
From Tools > Options - Keep the settings to default (as shown below) and click ok.
At this point your remote debugger is all set. You need to connect from Visual Studio by entering Machine IP: Port (4022)
Originally posted on Things on Tech.

