class_docstr: This will run pdb as a ephemeral telnet service. Once you connect no one
  else can connect. On construction this object will block execution till a
  client has connected.
  Based on https://github.com/tamentis/rpdb I think ...
  To use this::
      RemotePdb(host="0.0.0.0", port=4444).set_trace()
  Then run: telnet 127.0.0.1 4444
class_docstr_tok: ["This","will","run","pdb","as","a","ephemeral","telnet","service",".","Once","you","connect","no","one","else","can","connect",".","On","construction","this","object","will","block","execution","till","a","client","has","connected",".","Based","on","https",":","\/\/github.com\/tamentis\/rpdb","I","think","...","To","use","this",":",":","RemotePdb","(","host=","''","0.0.0.0","''",",","port=4444",")",".set_trace","(",")","Then","run",":","telnet","127.0.0.1","4444"]
docstr: remote
  Skip into the next remote call.
docstr_tok: ["remote","Skip","into","the","next","remote","call","."]
code: def do_remote(self, arg):
      """remote
      Skip into the next remote call.
      """
      # Tell the next task to drop into the debugger.
      ray._private.worker.global_worker.debugger_breakpoint = (
          self._breakpoint_uuid
      )
      # Tell the debug loop to connect to the next task.
      data = json.dumps(
          {
              "job_id": ray.get_runtime_context().get_job_id(),
          }
      )
      _internal_kv_put(
          "RAY_PDB_CONTINUE_{}".format(self._breakpoint_uuid),
          data,
          namespace=ray_constants.KV_NAMESPACE_PDB,
      )
      self.__restore()
      self.handle.connection.close()
      return Pdb.do_continue(self, arg)
  
imports: import errno
  import inspect
  import json
  import logging
  import os
  import re
  import select
  import socket
  import sys
  import time
  import traceback
  import uuid
  from pdb import Pdb
  from typing import Callable
  import setproctitle
  import ray
  from ray._private import ray_constants
  from ray.experimental.internal_kv import _internal_kv_del, _internal_kv_put
  from ray.util.annotations import DeveloperAPI
label_desc: Use image node_id 8 for calling the _RemotePdb obj's underlying member method code with example usage: obj.do_remote(arg) and returns: Pdb