class Byebug::SetCommand

def get_onoff(arg, default)

def get_onoff(arg, default)
  return default if arg.nil?
  case arg
  when "1", "on", "true"
    true
  when "0", "off", "false"
    false
  else
    [nil, pr("set.errors.on_off", arg: arg)]
  end
end