Unable to debug Azure functions locally?

Tanul 1,291 Reputation points
2021-10-28T18:32:10.843+00:00

Team,

I have VS 2019 professional and trying to debug an Azure function with .net core 3.1. But the moment I start the project I get this error in Azure func.exe console.

144703-untitled.png

Any suggestions on this please. Thank you.

Regards

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
Developer technologies | ASP.NET | ASP.NET Core
Developer technologies | .NET | .NET Runtime
Developer technologies | Visual Studio | Debugging
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 70,986 Reputation points Moderator
    2021-10-29T03:34:17.65+00:00

    @Tanul As per the error message it couldn't load Microsoft.Azure.WebJobs.Host.Scale.ConcurrenyManager so looks like you have enabled the concurrency for your function app. Can you install the latest release of the function app tool as I see the old version of the function runtime version and confirm if it helps.

    In case if you still observe the issue then I will suggest you to post your query in azure functions core tools github issue so the experts can assist you further.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.