我正在尝试使用 VS code IDE 调试 Azure 函数 python 代码。
Local.settings.json 使用以下配置更新
"AzureWebJobsStorage": "UseDevelopmentStorage=true"
Run Code Online (Sandbox Code Playgroud)
到目前为止我尝试过的事情:-
以下是尝试调试用 Python 编写的 Azure 函数时 VS Code IDE 上的错误:

下面的Host.json
{
"version": "2.0",
"logging": {
"applicationInsights": {
"samplingSettings": {
"isEnabled": true,
"excludedTypes": "Request"
}
}
},
"extensionBundle": {
"id": "Microsoft.Azure.Functions.ExtensionBundle",
"version": "[2.*, 3.0.0)"
},
"functionTimeout": "20:00:00",
"extensions": {
"durableTask": {
"maxConcurrentActivityFunctions": 1
}
}
}
Run Code Online (Sandbox Code Playgroud)
下面是launch.json
{
"version": "0.2.0",
"configurations": [
{
"name": "Attach to Python …Run Code Online (Sandbox Code Playgroud) visual-studio-code azure-functions azure-functions-runtime azure-functions-core-tools azurite
azurite ×1