protected boolean isCaptureOutputInConsoleView() {
   if (CommonUIPlugin.isFullyHeadless()) { // headless will be false always.
     return false;
   }
   // when debug, capture always.
   if (TalendDebugHandler.isEclipseDebug() || CommonsPlugin.isDebugMode()) {
     return true;
   }
   return captureOutputInConsoleView;
 }