code: def debug_command(self, command):
          
          self.switch_to_plugin()
          self.main.ipyconsole.write_to_stdin(command)
          focus_widget = self.main.ipyconsole.get_focus_widget()
          if focus_widget:
              focus_widget.setFocus()
docs: Debug actions