code: def do_quit(self, arg):
          
          if isinstance(self.stdin, RemoteSocket) and not self.is_debug_instance:
              return self.do_detach(arg)
          self._user_requested_quit = True
          self.set_quit()
          return 1
docs: q(uit)\nexit
          Quit from the debugger. The program being executed is aborted.