Reputation: 2127
I have deployed the following API as is to an Azure App Service from Visual Studio. I have made sure that I have Remote Debugging and Visual Studio version 2022 selected in General settings in the App Service Configuration.
When I try and attach process from Visual Studio to my App Service I get thefollowing error:
Upvotes: 3
Views: 3647
Reputation: 21
For anyone else experiencing this issue and the above suggestions do not work for you. We were experiencing the same issue.
"Unable to connect to the Microsoft Visual Studio Remote Debugger. Operation not supported. Unknown error"
VS 2022 Azure App Service, (Basic) Azure App Service: debug Enabled, VS 2022 selected and 64 bit
The solution for us was to..
Steps 1 & 2 was the magic solution for our scenario.
Upvotes: 1
Reputation: 7297
Once debugger is attached, Remote debugging is enabled in Portal => Configuration Settings automatically.
Upvotes: 4