Open Amar-QA opened 5 months ago
@Amar-QA Can you provide the value of your local.settings.json
file? You should have an entry for AzureWebJobsStorage
that is set to either a connection string of a valid Azure Storage account, or "UseDevelopmentStorage=true"
to use the emulator. If none of these are set, this error is expected.
Hi @hossam-nasr, here is the screenshot of local.settings.json file.
This issue also reproduces when debugging a .NET project created with Azure Blob Storage trigger template.
I think the root cause is that below prompt doesn't pop up when debugging the project.
So the setting "AzureWebJobsStorage" cannot be filled automatically.
If I fill the setting "AzureWebJobsStorage" manually, the debug is successful.
Verified this bug on v1.14.4-alpha.0 build, it also reproduces when debugging Python and Java projects with Azure Blob Storage Trigger template.
Verified this bug on v1.14.4-alpha.0 build, it also reproduces when debugging Python and Powershell projects with Azure Event Grid Trigger template.
OS: All Build Version: 20240305.5 Regression: Not a Regression
Repro Steps:
Expected: It should successfully debug the 'Azure Event Grid Trigger' function.
Actual: Fail to debug the "Azure Event Grid Trigger" function.![image](https://github.com/microsoft/vscode-azurefunctions/assets/156269329/eccd8eb1-00ca-48f5-8d28-5aefe01fc2df)
More info: