We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
RUBY_DEBUG_ENABLE=0
1 parent 6b9eab5 commit 9d507dcCopy full SHA for 9d507dc
lib/debug.rb
@@ -1,4 +1,5 @@
1
# frozen_string_literal: true
2
3
require_relative 'debug/session'
4
+return unless defined?(DEBUGGER__)
5
DEBUGGER__::start no_sigint_hook: true, nonstop: true
lib/debug/prelude.rb
@@ -1,5 +1,6 @@
+return if ENV['RUBY_DEBUG_ENABLE'] == '0'
return if defined?(::DEBUGGER__)
6
# Put the following line in your login script (e.g. ~/.bash_profile) with modified path:
0 commit comments