Created console and loading windows, set up debug stream, which can now write to the console window.
Console window return key fix