Unable to debug azure function remotely with Visual Studio 2022 (Version 17.4.3)

Tim Ahtirski 1 Reputation point
2022-12-15T16:20:03.363+00:00

I have a v4 azure function app deployed to azure. The function is on consumption plan. The function developed with C#, .net 6 for Windows runtime.
I can't connect to the function via port 4024.
Bellow is the configuration:

271143-temp1.jpg

271050-image.png

271039-image.png

This is the error I get:
271151-image.png

Next I tried to connect via "Attach to Process" with credentials from the publish profile. Still no luck:
271152-image.png
271161-image.png
271134-image.png
271040-image.png
Tried to connect to .scm link, still no luck:
271162-image.png
271076-image.png
Kudu shows remoted debug process is running:
271144-image.png

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
Developer technologies | Visual Studio | Debugging
{count} votes

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.