Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
The Debugging is not hitting the Breakpoint when Remote Debugging using Visual Studio 2017 #844
I published a Debug version of Azure Function (v2, C#, precompiled)
The Debugging is not hitting the Breakpoint when Remote Debugging
It seems that I am unable to remote debug Azure Functions V2 C# precompiled, using Visual Studio, the debugging sessions starts, but the breakpoints does not hit
I noticed this message
I installed https://aka.ms/vs/15/release/RemoteTools.amd64ret.enu.exe but still have this same problem.
I am using
Have you checked the Modules window to see if your symbols are getting loaded?
Regarding the message you saw, it's possible the issue is related to your use of VS 2017 15.8.0, which is currently in preview, and thus we might not have the right server-side components installed. @safihamid do you know if the remote debugging bits we have today work with this prerelease version of VS?
I just tested this using 15.8.0 Preview 2.0 out of the box and everything worked fine for me. I didn't need to install any additional remote tools. I suggest you uninstall the remote tools package from your client and see if it works or not. Also using Runtime version: 2.0.11857.0 (beta) .
After uninstalling Remote Tools
When I Attach Debugger, this appears
Then I installed it again, but still have this error. Can not start Debugging session.
If I try to start debugging on the next Function (webapiusv2 in that piture), then it starts the debugging session.