diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp
index 149f2e37f3d94c44b358387555865ac6756e1fb5..6097a939c60984a06666baa8a5586dadd7d45575 100644
--- a/src/plugins/debugger/debuggerplugin.cpp
+++ b/src/plugins/debugger/debuggerplugin.cpp
@@ -2987,7 +2987,8 @@ void DebuggerPlugin::showMessage(const QString &msg, int channel, int timeout)
             break;
         default:
             ow->showOutput(channel, msg);
-            //cw->showOutput(channel, msg);
+            if (channel == LogError)
+                ensureLogVisible();
             break;
     }
 }