Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Debugging deployed azure app

Is it possible to attach to a deployed Azure app? I would like to be able to step through the code so that I can see what values are being set in a request to one of my web role actions.

I have looked around and the only examples seem to be of debugging when the azure app is running on the local machine.

like image 451
gonzohunter Avatar asked Jun 01 '10 13:06

gonzohunter


3 Answers

Windows Azure Tools (June 2010) allows to use IntelliTrace in the cloud. This release:

Adds support for debugging services in the cloud by using the Visual Studio 2010 IntelliTrace feature. This is enabled by using the deployment feature, and logs are retrieved through Server Explorer.

IntelliTrace support requires:

  • .NET 4
  • Visual Studio 2010 Ultimate
  • the cloud service has to be deployed with IntelliTrace enabled
like image 63
Rinat Abdullin Avatar answered Sep 17 '22 20:09

Rinat Abdullin


No, you can't debug an Azure app running on MS's servers.

You might be able to solve your problem with Azure's logging feature, though.

Edited to add MS just announced IntelliTrace for the cloud fabric in the June 2010 tools.

like image 21
Craig Stuntz Avatar answered Sep 20 '22 20:09

Craig Stuntz


Craig is right "today" you cannot debug an Azure App running on cloud fbaric, you can only debug on local fabric. you may want to look at the diagonostic and logging API http://blogs.msdn.com/b/windowsazure/archive/2009/12/01/introducing-windows-azure-diagnostics.aspx http://blog.benday.com/archive/2008/11/07/23201.aspx

this is a great tool - http://www.cerebrata.com/Products/AzureDiagnosticsManager/Default.aspx

like image 37
ashish jaiman Avatar answered Sep 19 '22 20:09

ashish jaiman