Sha256: 4abe075e06c0e07e909e39d2d105e7b3068cb590706291f80d940786b31e82da
Contents?: true
Size: 639 Bytes
Versions: 9
Compression:
Stored size: 639 Bytes
Contents
# frozen_string_literal: true require "gem_info" require 'ruby_smart/simple_logger' # to prevent compatibility issues with the ruby-debug-ide gem (uses same Namespace 'Debugger') GemInfo.safe_require 'ruby-debug-ide' # try to load 'awesome_print', if available GemInfo.safe_require 'awesome_print' module Debugger extend ::RubySmart::SimpleLogger::KlassLogger # force debugger to 'DEBUG' severity self.klass_logger_opts = {level: ::RubySmart::SimpleLogger::Logger::DEBUG} # overwrite existing "debug" method (if Debase was loaded) def self.debug(*args) return false if args.none? klass_logger.debug(*args) end end
Version data entries
9 entries across 9 versions & 1 rubygems