I am running a VS2013 Azure application locally and outputing a message to the Debug window like this:
Debug.WriteLine(logString);
This works SOMETIMES and other times I get a message saying:
Not running in a hosted service or the Development Fabric.
Could not create Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorTraceListener, Microsoft.WindowsAzure.Diagnostics,
From what I understand from other answers on SO there is some kind of conflict with the Diagnostics when I use Debug.Write().
So is there another way I can write a message to the output window just while I am testing? I know there is a Console.Write but this will not work as I do not have a console.