Remote debugging

Azure websites have great remote debugging support integrated into Visual Studio; we can enable remote debugging in the portal, and then attach the debugger through Server Explorer. Unfortunately, this is not supported in Visual Studio Express, so I will use Visual Studio 2013 Ultimate to demonstrate it (Premium and Professional are fine too). To start remote debugging, use the following procedure:

  1. Make sure the website is deployed in the Debug configuration because the Release configuration is optimized and cannot be debugged. If the website is not deployed in the Debug configuration, you will see an error message like this:
    Remote debugging
  2. To publish ...

Get Learning Microsoft Azure now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.