class Byebug::Runner
def non_existing_script?
Extracts debugged program from command line args.
def non_existing_script? Byebug.mode = :standalone program = which($ARGV.shift) program = which($ARGV.shift) if program == which('ruby') if program $PROGRAM_NAME = program false else print_error("The script doesn't exist") true end end