azure - 无法连接到 Microsoft Visual Studio 远程调试器。不支持操作。未知错误: 0x80004005

标签 azure remote-debugging azure-appservice

我已经部署了following API就像从 Visual Studio 到 Azure 应用服务一样。 我已确保在应用服务配置的常规设置中选择了远程调试和 Visual Studio 版本 2022。

enter image description here

当我尝试将 Visual Studio 中的进程附加到我的应用服务时,出现以下错误:

enter image description here

最佳答案

  • 在 VS 2022 中,我们有一种简单直接的方法来附加调试器。
  • 发布 Web 应用程序后,在托管设置中,我们将找到“附加调试器”选项。

enter image description here

连接调试器后,会自动在 Portal => Configuration Settings 中启用远程调试。

enter image description here

  • 在您要调试的任何表单中放置一个断点。
  • Visual Studio 找到进程,将加载所有符号,并附加调试器。

enter image description here

关于azure - 无法连接到 Microsoft Visual Studio 远程调试器。不支持操作。未知错误: 0x80004005,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/73856911/

相关文章:

python - Azure 应用服务已启动并正在运行,但显示默认的 Microsoft 页面

azure - 通过证书代理路由时,Blazor On click 不起作用

android - 在云中开发,但通过远程桌面通过 USB 在本地设备上调试 Android 应用程序

css - 在 Chrome Web 检查器上附加外部 css 文件

azure - 允许 Web API 输入GET 请求处理程序接受具有角色或范围的 jwt

angular - Azure 静态 Web 应用程序可以将 Azure 应用服务作为后端吗?

azure - Azure 资源管理器和 Azure API 管理之间有什么区别?

python - Azure函数应用程序-输出CosmosDB

azure - 在Azure逻辑应用程序的结果 View 中获取 "Failed to Fetch"

java - 使用 Eclipse 远程调试 'eclipse RCP application"