vs-remote-debug

remote debug with visual studio

Remote debugging C++: https://docs.microsoft.com/en-us/visualstudio/debugger/remote-debugging-cpp?view=vs-2019

Attach debugging: https://docs.microsoft.com/en-us/visualstudio/debugger/attach-to-running-processes-with-the-visual-studio-debugger?view=vs-2019

Configure co-debugging program as a service: https://docs.microsoft.com/en-us/visualstudio/debugger/remote-debugging?view=vs-2019#bkmk_configureService

How to configure launch parameters: https://stackoverflow.com/questions/6740422/visual-studio-remote-debugging-a-service

Available parameters: https://social.msdn.microsoft.com/Forums/vstudio/en-US/174c2039-b316-455a-800e-18c0d93b74bc/visual-studio-2010-remote-debugger-settings-dont-persist?forum=vsdebug

Add your own task

"C:\Program Files\Microsoft Visual Studio 16.0\Common7\IDE\Remote Debugger\x64\msvsmon.exe"

Launch parameters

/noauth /anyuser /port:4045 /nosecuritywarn /timeout 360000

Dev machine connect: test0.example.com:4045

Remote access (developer mode must be enabled first): http://test0.example.com:50080/