I cannot connect to my web app with the remote debugger from Visual Studio 2022.

Gerald Wagner 20 Zuverlässigkeitspunkte
2025-08-21T09:37:07.65+00:00

I cannot connect to my App-Services Web-App with the remote debugger from Visual Studio 2022. In the debuggin options "Enalbe Just My Code" is deactivated.

At azure portal remote debugging is enabled for the Web-App and Visual Studio 2022 is selected as the IDE.

The web app is running on the Basic B2 plan.

When I go directly to Attach to Debugger after publishing, I get the following error:

Unable to connect to the Microsoft Visual Studio Remote Debugger named ‘...’. 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.

If remote debugging were not enabled at this point, it would even be enabled despite the error being thrown.

When I try to do this via Debug/Attach to process, I get the following error:

Unable to connect to the Microsoft Visual Studio Remote Debugger named "{ AccountUniqueId ...}" . Operation not supported. Unknown error: 0x80004005.

I would be grateful for any advice on what the problem might be.

Best regards,

Azure
Azure

Eine Cloud Computing-Plattform und -Infrastruktur für die Erstellung, Bereitstellung und Verwaltung von Anwendungen und Diensten über ein weltweites Netzwerk aus Rechenzentren, die von Microsoft verwaltetet werden.


Ihre Antwort

Antworten können von Fragestellenden als „Angenommen“ und von Moderierenden als „Empfohlen“ gekennzeichnet werden, wodurch Benutzende wissen, dass diese Antwort das Problem des Fragestellenden gelöst hat.