Sha256: 02d969dd6ac6b1464e2321137e3ba37b95607fb16045abe1e1bdbe96df2c83b2
Contents?: true
Size: 603 Bytes
Versions: 17
Compression:
Stored size: 603 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 require 'byebug/core' unless started? self.mode = :attached start run_init_script end current_context.step_out(3, 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 debugger byebug end
Version data entries
17 entries across 16 versions & 3 rubygems