Sha256: 1000b10bf0e35298f71145d07c9b349da40b9784bda75ec1430ceb7458dfbdc0
Contents?: true
Size: 594 Bytes
Versions: 28
Compression:
Stored size: 594 Bytes
Contents
module Kernel unless respond_to?(:debugger) # Starts a debugging session if ruby-debug has been loaded (call script/server --debugger to do load it). def debugger message = "\n***** Debugger requested, but was not available: Start server with --debugger to enable *****\n" defined?(Rails) ? Rails.logger.info(message) : $stderr.puts(message) end end def breakpoint message = "\n***** The 'breakpoint' command has been renamed 'debugger' -- please change *****\n" defined?(Rails) ? Rails.logger.info(message) : $stderr.puts(message) debugger end end
Version data entries
28 entries across 27 versions & 8 rubygems