vs-remote-debug

ビジュアルスタジオによるリモートデバッグ

C++ のリモートデバッグ: https://docs.microsoft.com/en-us/visualstudio/debugger/remote-debugging-cpp?view=vs-2019

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

サービスとしてリモートデバッグプログラムを構成する方法: https://docs.microsoft.com/en-us/visualstudio/debugger/remote-debugging?view=vs-2019#bkmk_configureService

起動パラメータの設定方法: https://stackoverflow.com/questions/6740422/visual-studio-remote-debugging-a-service

使用可能なパラメータ: https://social.msdn.microsoft.com/Forums/vstudio/en-US/174c2039-b316-455a-800e-18c0d93b74bc/visual-studio-2010-remote-debugger-settings-dont-persist?forum=vsdebug

タスクを自分で追加

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

起動パラメータ

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

開発マシンへの接続: test0.example.com:4045

リモートアクセス(事前に開発者モードを有効にする必要があります): http://test0.example.com:50080/