Remote debugging Azure website: Breakpoints not hit

后端 未结 6 1838
余生分开走
余生分开走 2021-01-04 21:48

I\'ve got an ASP.NET website that I deployed to Azure. I\'m using VS2013, .NET 4.5.1 and Azure SDK 2.2. I turned on remote debugging for VS2013 in the management portal. I c

6条回答
  •  盖世英雄少女心
    2021-01-04 22:47

    Make sure you publish a debug build to a specific deployment slot. I had this same problem and when I attached the remote debugger to my staging slot that had a debug build deployed there, it worked. Trying to debug a release build doesn't work because the requisite debug symbols are not present. Like @Lars explains above, I had to restart the web app on Azure and then try the debug again against the debug build.

提交回复
热议问题