Intro   Most of this write up just summarizes what's talked about in this video:  Visual Studio - How to Attach Debugger to a Remote Server   This Microsoft web page documents how to install and run the remote debugger:  VS Remote Debugging Installation And Running   Prerequisites   The Visual Studio Remote Debugger for 2015 is called  rtools_setup_x64.exe  To properly debug on a remote machine, you will need debug symbols for your code.    Install And Run The Remote Debugger   Find  rtools_setup_x64.exe , and install it on the remote server.  After install, go to the  Start  menu and run  Remote Debugger .  You may have to configure the firewall, this can be done through the  Remote Debugging Configuration  dialog that the  Remote Debugger  launches.  Allow everything.  Once the remote debugger is running, go to the  Tools  menu and select  Options .  The port will probably be 4020, change this to  4016 . ...