gpt4 book ai didi

c# - 为什么我无法(远程)调试我的 Azure Web Api?

转载 作者:行者123 更新时间:2023-12-03 04:26:48 24 4
gpt4 key购买 nike

我正在使用 Azure 开发 WebAPI 2 项目。我在 Azure 上托管了一个 WebAPI,但无法远程调试它。

通过 Visual Studio,我单击“附加调试”(CloudExplorer 面板),如下图所示:

Attach Debugger command of Visual Studio 2015 Cloud Explorer

但是我收到以下错误:

Cloud Explorer exception

同一项目和 Visual Studio 中的其他同事没有此错误。我尝试过:

  • 卸载/重新安装 Cloud Explorer
  • 以管理员身份运行 Visual Studio
  • 通过 Visual Studio 断开/重新连接到我的订阅

我使用的是 Visual Studio 2015 Enterprise,Cloud Explorer 的版本是 1.0.61208.9。

请问你能帮我吗?

谢谢

最佳答案

尝试以下步骤 1:在应用程序的配置选项卡中打开远程调试并保存设置。步骤2:在VS服务器资源管理器中连接到azure订阅并转到应用程序并右键附加调试器

enter image description here

关于c# - 为什么我无法(远程)调试我的 Azure Web Api?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42222721/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com