visual-studio - 使用 VS 2019 远程调试 Azure 应用服务

标签 visual-studio azure debugging azure-appservice

如何从 VS2019 为 Azure 应用服务中运行的 .NET 应用启用调试?该门户仅支持 2015 年和 2017 年。

Remote debugging options

最佳答案

您只需从 Visual Studio 2019 进行连接即可,无需更改门户设置即可正常工作。

  1. 打开 Visual Studio 和您的项目
  2. 打开 Cloud Explorer 查看 -> Cloud Explorerctrl+\, ctrl+x
  3. 在 Cloud Explorer 中找到您的应用服务节点并选择它
  4. 从上下文菜单或操作 Pane 中选择附加调试器

Attach Debugger in Visual Studio

关于visual-studio - 使用 VS 2019 远程调试 Azure 应用服务,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55526224/

相关文章:

visual-studio - 此 Azure 部署错误是什么意思?

azure - 每天凌晨 1 点运行 azure 函数的 Cron 表达式

asp.net-mvc - Silverlight 4 - MVC 2 ASP.NET 成员(member)集成 "single sign on"

javascript - '--remote-debugger-port' 应该与 casper 1.1.2 和 phantomjs 2.1.1 一起使用吗?

c# - 在 VS2015 中,如何为自动实现的属性禁用 Step Into?

android - 如何看待用户提出的问题,我们这边无法模拟

visual-studio - Visual Studio 2010, "File > Recent Projects and Solutions"不是事件的!

c# - 构建前和构建后事件参数

c++ - 编译和链接项目时 Visual Studio 2015 挂起

angular - 设置 Azure B2C 的正确方法?