Sha256: 9e2a2b27939b63697b74ebc3c75b9cf45dec814d3262969089dd3b78d02ae073
Contents?: true
Size: 642 Bytes
Versions: 123
Compression:
Stored size: 642 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 undef :breakpoint if respond_to?(:breakpoint) 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
123 entries across 93 versions & 11 rubygems