I'm trying to debug code deployed on Azure Websites by attaching debugger. When I put breakpoint anywhere in code, this displays similar error as given in the image.
The breakpoint will not be currently hit. No symbols have been loaded for this document.
When I debug locally this works totally fine. I see ton of suggested answers while posting here but none of them helped me. As I said, debugging works locally totally okay but not by attaching debugger.
Development Environment: Visual Studio 2015 Enterprise on Windows 10.
Any help is highly appreciated.
please run following with admin command prompt.
C:\\Windows\\System32\\inetsrv>appcmd list wp
It will list w3wp processes ids with their application pool name. Run Visual Studio with Admin, and open your project, press ctrl+alt+p and attach w3wp from list with the id displayed in command prompt.
Make sure you build your application in Debug mode as shown below. And also at page level also please specify Debug="true".
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.