Changed Debug.WriteLine to Console.WriteLine. 

Debug.WriteLine doesn't happen in release build