diff --git a/include/internal/catch_console_colour_impl.hpp b/include/internal/catch_console_colour_impl.hpp index c05fd07f..340628d6 100644 --- a/include/internal/catch_console_colour_impl.hpp +++ b/include/internal/catch_console_colour_impl.hpp @@ -32,7 +32,7 @@ namespace Catch { namespace { const char colourEscape = '\033'; } void TextColour::set( Colours colour ) { - if( isatty( fileno(stdout) ) ) { + if( isatty( fileno(stdout) ) && !isDebuggerActive() ) { switch( colour ) { case TextColour::FileName: std::cout << colourEscape << "[0m"; // white/ normal