Is it possible to automatically close the debug console when debugging is done? Right now it stays open with the text 'Terminal will be reused by tasks, press any key to close it.'
Visual Studio 1.42 now has a setting for that use case:
See "Setting to hide Debug Console after debugging"
A new setting
debug.console.closeOnEnd
has been introduced that controls whether the debug console should automatically close after debugging has stopped.
VSCode 1.69 (June 2022) will improve that, following issue 148616 and PR 151535:
Respect debug.console.closeOnEnd setting even when the debug console has been moved to another view.
Close whichever view container contains the debug console.
It avoids seeing the debug view collapsed instead of closed:
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