Running Visual Studio Remote Debugger in Windows Container (Docker managed)

后端 未结 4 1142
孤城傲影
孤城傲影 2021-02-02 14:28

I try to run the Visual Studio Remote Debugger in a Windows Container on Windows Server 2016 TP4. Since it runs inside a conta

4条回答
  •  忘掉有多难
    2021-02-02 14:59

    I found this sequence to work:

    PS C:\> start-service msvsmon150
    PS C:\Program Files\Microsoft Visual Studio 15.0\Common7\IDE\Remote Debugger\x64> .\msvsmon  /noauth /anyuser /silent
    

    The start-Service command will fart out an error about how the service can not start when running in a Windows 10 hosted Windows container. However, after entering the second command, the ports show up as blocked in netstat -ab and Visual Studio 2017 can sniff the debugger unit.

提交回复
热议问题