azure - 如何发布 Azure Function 的调试版本以启用调试?

标签 azure azure-webjobs azure-functions

我正在尝试调试 Azure Function,但似乎无法从 Visual Studio 2017.3 中的新 Azure Functions 工具中更改调试/ Release模式。

如何调试?

enter image description here

最佳答案

据我所知,vs2017预览版并没有提供直接更改发布设置的方法。

我建议您可以找到发布配置文件并自行更改其设置。

更多详情,您可以关注下图:

1.打开应用程序文件夹

enter image description here

2.您可以找到配置文件文件夹并找到发布配置文件。

\Properties\PublishProfiles

3.打开配置文件并将发行版更改为调试。

enter image description here

结果是这样的:

enter image description here

注意:要查看配置更改,您需要重新打开 Visual Studio 预览。

关于azure - 如何发布 Azure Function 的调试版本以启用调试?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45684951/

相关文章:

wcf - Azure 可以与 Amazon 互操作吗?

c# - Azure DevOps Pipeline - dotnet restore 包内容哈希验证失败

sql-server - Windows Azure - Web 角色和虚拟机安全通信

azure - 集群内连接被拒绝,但端口转发在 Kubernetes 中有效

Azure Functions blob 触发器比 WebJobs blob 触发器更可靠?

c# - 远程服务器返回错误: (400) Bad Request when trying execute AddMessageAsync()

c# - Azure 服务总线连续 WebJob 暂停

javascript - getmetadata 用于 Azure Blob 存储 NodeJ 中选择的 Blob

azure - Microsoft.Azure.WebJobs.Extensions.EventGrid : Object reference not set to an instance of an object

azure - 如何在不注册或登录网络应用程序的情况下获取访问 token ?