When trying to attach VS2022 debugger to Azure Windows App Service I get a error stating that I can't connect to a Linux App Service.

John Stemper 1 Reputation point
2022-05-24T16:37:11.657+00:00

Error I get when trying to connect to a Windows App Service. How do I get around this error?

205175-azureerror.png

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
39,693 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,903 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Grmacjon-MSFT 18,451 Reputation points
    2022-06-02T19:48:10.503+00:00

    Hi @John Stemper ,

    Thanks for the question. This is odd behavior. Can you share the Azure document/tutorial you used to set up your debugger so we can try to repro the scenario on our end?

    In the meantime, you can try using Snapshot Debugger by following the steps in this tutorial.

    "The Snapshot Debugger takes a snapshot of your in-production apps when code that you're interested in executes. To instruct the debugger to take a snapshot, you set snappoints and logpoints in your code. The debugger lets you see exactly what went wrong, without impacting traffic of your production application. The Snapshot Debugger can help you dramatically reduce the time it takes to resolve issues that occur in production environments."

    Best,
    Grace

    0 comments No comments

Your answer

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