Azure 函数 |找不到 "func: host start"| Python

标签 azure azure-functions azure-durable-functions

问题

我在 VS Code 中,按 f5 调试一个我已经运行了一段时间并一直在积极工作(包括上周)的项目,现在我收到“无法找到任务‘func: host’我检查了输出日志,发现有以下错误:

Error: The func task detection didn't contribute a task for the following configuration: { "type": "func", "command": "host start", "problemMatcher": "$func-python-watch", "isBackground": true, "dependsOn": "pip install (functions)" } The task will be ignored.

不用说,我无法调试我的持久功能,这是一项必要的任务,因为我希望有明显的原因。

到目前为止我检查过的事情

需要注意的事项

  • 我主要是一名架构师开发人员,白天致力于一个有趣的副业项目,所以对一切都抱有两粒怀疑,而不是平常的态度。

  • 感谢所有帮助

  • 如果您正在尝试回答这个问题并且为 Microsoft 工作,那么如果您有问题,我就是大骗子。

感谢您的任何回答,无论解决方案如何被标记为正确,其他建议也始终受到赞赏。

最佳答案

每次重新启动时都会发生这种情况。相同的设置。

要解决此问题,我只需在 VS Code 中卸载/重新安装“Azure Functions”扩展即可。

希望这有帮助!

关于Azure 函数 |找不到 "func: host start"| Python,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/70749130/

相关文章:

azure - 在 Salesforce 中创建 Azure 文件存储 SAS 不起作用

azure - 如何代表用户使用 appid 连接 Azure 广告?

c# - 消息 - 更新 Azure 上的函数版本

visual-studio - 无法将 Visual Studio Code Coverage 与 Azure Functions 结合使用

C# 编排和 firestore

azure - 我可以在 ASE 中部署持久 Azure Function 吗

Azure Durable Function HttpStart 失败 : Webhooks are not configured

azure - 检索 Microsoft Graph 中每个应用程序的角色和用户

azure - 是否可以重命名 Azure 应用服务?

security - 如何自动检测来自 1 个 IP 的高 [数据输出](Windows azure 网站)