Sha256: 501be03d9407a33b465435e1d16ef65ac1972339b2b147180b7aebe73eabb579
Contents?: true
Size: 586 Bytes
Versions: 8
Compression:
Stored size: 586 Bytes
Contents
# # Main Container for all of Byebug's code # module Byebug # # Enters byebug right before (or right after if _before_ is false) return # events occur. Before entering byebug the init script is read. # def self.attach unless started? self.mode = :attached start run_init_script end current_context.step_out(2, true) end end # # Adds a `byebug` method to the Kernel module. # # Dropping a `byebug` call anywhere in your code, you get a debug prompt. # module Kernel def byebug Byebug.attach end alias_method :debugger, :byebug end
Version data entries
8 entries across 7 versions & 3 rubygems