module Byebug

def self.attach


Starts byebug, and stops at the first line of user's code.
def self.attach
  unless started?
    self.mode = :attached
    start
    run_init_script
  end
  current_context.step_out(3, true)
end