class PryRemote::Server

def run

teardown the server right after Pry.start finishes.
Override the call to Pry.start to save off current Server, and not
def run
  if PryByebug.current_remote_server
    raise 'Already running a pry-remote session!'
  else
    PryByebug.current_remote_server = self
  end
  setup
  Pry.start @object, {
    :input  => client.input_proxy,
    :output => client.output
  }
end

def teardown_with_pry_byebug

def teardown_with_pry_byebug
  return if @torn
  teardown_without_pry_byebug
  PryByebug.current_remote_server = nil
  @torn = true
end