module PryByebug::Breakpoints

def add(file, line, expression = nil)

Add a new breakpoint.
def add(file, line, expression = nil)
  real_file = (file != Pry.eval_path)
  raise ArgumentError, 'Invalid file!' if real_file && !File.exist?(file)
  validate_expression expression
  Pry.processor.debugging = true
  path = (real_file ? File.expand_path(file) : file)
  Byebug.add_breakpoint(path, line, expression)
end