module PryByebug
def file_context?(target)
Checks that a target binding is in a local file context.
def file_context?(target) file = Helpers::Location.current_file(target) file == Pry.eval_path || !Pry::Helpers::BaseHelpers.not_a_real_file?(file) end