I'm debugging a C# console application using Visual Studio for the Mac. I'm using frequent Console.WriteLine()
statements.
Is there anyway to clear the output of the Terminal - macOS
pad where the Console
output is displayed every time I run / debug the program? I've tried calls to Console.Clear()
to no effect. I have seen suggestions to use Cmd-K
but that doesn't work. Other suggestions are all for VSCode, not Visual Studio.
Surely I can't be the only one who finds seeing the old output distracting when debugging?
You aren't alone. I was just wondering why it didn't clear the screen either. There is an option to use Terminal, instead of the built in terminal. Check under Preferences > Terminal, then remove the check mark next to "Enable Integrated Terminal" and it will just pop up in a normal terminal which doesn't seem to have that issue. If you figure something else out let me know though.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With