Is there a TextWriter interface to the System.Diagnostics.Debug class, for use with Console.SetOut?
See the question and my original answer on StackOverflowYou can do the reverse. Use standard Debug/Trace calls and add a ConsoleTraceListener Class to your configuration. The net effect should be the same with standard coding/behavior.