Reputation: 2732
I have used Azure remote debugging of my web apps very effectively. However, in prod, we are using deployment slots and our staging slot is causing some errors and needs to be debugged. Some of my team members tried to remotely debug it, but when they attached, it produced the following error:
System.Runtime.InteropServices.COMException (0x89710023): Unable to connect to the Microsoft Visual Studio Remote Debugger named 'mysite123prod-staging.azurewebsites.net'. The connection with the remote endpoint was terminated.
at Microsoft.VisualStudio.Debugger.Interop.Internal.IDebuggerInternal120.ConnectToServer(String szServerName, VsDebugRemoteConnectOptions[] pConnectOptions, CONNECT_REASON ConnectReason, Int32 fIncrementUsageCount, IDebugCoreServer3& ppServer) at Microsoft.VisualStudio.Web.Azure.MicrosoftWeb.Operations.RemoteDiagnosticsSessionBase.ConnectToServer(String site, String user, String password)
Can this be done in Azure and if so, how?
Upvotes: 1
Views: 1351
Reputation: 1038
There could be many possible reasons for the issue.
For more details, refer to Configure the Windows Firewall for Remote Debugging and Remote Debugging Errors and Troubleshooting.
Upvotes: 1