From a Console Application project in Visual Studio, I want to redirect Console
's output to the Output Window while debugging.
Change application type to Windows before debugging. Without Console window, Console.WriteLine works like Trace.WriteLine. Don't forget to reset application back to Console type after debugging.