Remote debugging Azure functions - .netcoreapp3.1 framework with visual studio 2019

1.6k Views Asked by At

I am trying to remote debug azure function but every time getting below exception, I have publish function project with debug mode, and tried from cloud explorer to attach debugger but getting below exception

enter image description here

enter image description here

System.Runtime.InteropServices.COMException (0x89710023): Unable to connect to the Microsoft Visual Studio Remote Debugger named 'functionappurl'. The connection with the remote endpoint was terminated.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 site, String user, String password)

Also on portal enter image description here done this settings and while publishing below is settings of publish profile enter image description here

0

There are 0 best solutions below