def _show_console(self):
     top_console = ScriptConsole.getActiveScriptConsole(ScriptConsole.DEFAULT_CONSOLE_TYPE)
     
     if top_console is not None:
         self._console = top_console
     else:
         from org.python.pydev.debug.newconsole import PydevConsoleFactory  # @UnresolvedImport
         PydevConsoleFactory().createConsole('')
         self._console = None