class Byebug::PryCommand


Enter Pry from byebug’s prompt

def description

def description
  %(pry        Starts a Pry session.)
end

def execute

def execute
  unless @state.interface.is_a?(LocalInterface)
    return errmsg('Command is available only in local mode.')
  end
  get_binding.pry
end

def names

def names
  %w(pry)
end

def regexp

def regexp
  /^\s* pry \s*$/x
end