Any call in my unit tests to either Debug.Write(line) or Console.Write(Line) simply gets skipped over while debugging and the output is never print
Debug.Write(line)
Console.Write(Line)
I'm using xUnit so this is what I use:
Debugger.Log(0, "1", input);
PS: you can use Debugger.Break(); too, so you can see your log in out.
Debugger.Break();
out