./myapp.exe), then I'd want Console.WriteLine calls (for debugging) to go to that terminal window. Is there some way to achieve this?OutputType to Exe, then it spawns a console window when launched from File Explorer. However, when run from a terminal window, the behavior is correct - Console.WriteLine output goes to that existing terminal window.OutputType to WinExe, the behavior is correct when launched from File Explorer - no console window is spawned. However, when run from a terminal window, Console.WriteLine calls don't appear at all