Because the latest debug gem now requires Ruby >= 2.7, if we require debug in older Rubies, it'll require a very outdated debug lib instead.
Also, requiring debug activates the debugger even when no breakpoints are set. Requiring debug/prelude can avoid it while allowing the use of breakpoints like binding.break or debugger.
Because the latest debug gem now requires Ruby >= 2.7, if we require
debug
in older Rubies, it'll require a very outdated debug lib instead.Also, requiring
debug
activates the debugger even when no breakpoints are set. Requiringdebug/prelude
can avoid it while allowing the use of breakpoints likebinding.break
ordebugger
.Closes #2266
skip-changelog