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

后端 未结 4 1126
孤城傲影
孤城傲影 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:44

    Did you try to "hardcode" the hostname using the msvsmon /hostname option?

    According to the msvsmon documentation: "/hostname hostname_value Instructs the remote debugger to listen on the network using the specified hostname value, or IP address value. On a computer with multiple network cards, or with multiple assigned DNS host names, this option can be used to restrict which of these will allow remote debugging. For example, a server may have an internet facing address, and an internal address. By using '/hostname private_ip_address', remote debugging will not be available through the internet facing address."

提交回复
热议问题