private void writeToConsole(PyIo io) {
   ConsoleViewContentType contentType;
   if (io.getCtx() == 2) {
     contentType = ConsoleViewContentType.ERROR_OUTPUT;
   } else {
     contentType = ConsoleViewContentType.NORMAL_OUTPUT;
   }
   myDebugProcess.printToConsole(io.getText(), contentType);
 }