This is occurring on all of my web apps across all app service plans in my subscription. I am no longer able to connect to my web apps with Visual Studio 2022 for debugging. If I go to settings>configuration on my web app(s), I can see that debugging is disabled. I click to enable it and debugging in VS 2022 appears. I save the configuration. A few seconds later when I reload the configuration page, the debugging option is disabled. This is consistent behaviour across all web services and web apps.
If I try to "Attach debugger" from VS 2022, it goes through the process of enabling remote debugging, finding process to attach to and then attaching the debugger... After some time, I get the following error message:
The Visual Studio 2022 Remote Debugger (MSVSMON.EXE) does not appear to be running on the remote computer. This may be because a firewall is preventing communication to the remote computer. Please see Help for assistance on configuring remote debugging.
at Microsoft.WebTools.Azure.VS.Operations.IDebuggerInternal120.ConnectToServer(String szServerName, VsDebugRemoteConnectOptions[] pConnectOptions, CONNECT_REASON ConnectReason, Int32 fIncrementUsageCount, IDebugCoreServer3& ppServer)
at Microsoft.WebTools.Azure.VS.Operations.RemoteDiagnosticsSessionBase`1.ConnectToServer(String hostNameWithPort, String user, String password)
I have disabled firewalls on my local PC and still get the same error.
Can someone advise how I can fix this issue?