In the past, perhaps versions of Visual Studio prior to the 2008 that I am using now, I would do something like this in my VB.NET code:
System.Diagnostics.De
I was having the same problem for an ASP.NET application, and I found out that my Web.Config had the following line:
Just changing it to true, and I started seeing the Debug.WriteLine in Output window.
Debug.WriteLine
Output