Remote debugging Azure website: Breakpoints not hit

后端 未结 6 1831
余生分开走
余生分开走 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:27

    I also struggled with this (VS2015 Enterprise) but found a solution that works pretty consistently.

    • Make sure you aren't attached to the web app
    • Open up the Azure portal for the web app
    • Stop the web app
    • Restart the web app
    • Give it a second to warm up, then go back to VS and re-attach

    This works for me almost every time. Note that stopping and starting the web app from w/in Visual Studio does not work consistently.

提交回复
热议问题