Method not available on this version
This method is only available on newer versions.
The first available version (v8.1.1) is shown here.
debug_mode?()
public
Check if debug mode is currently
enabled. Debug mode is enabled on the reporter via with_debug, and
in local environments.
# File activesupport/lib/active_support/event_reporter.rb, line 420
def debug_mode?
@debug_mode || Fiber[:event_reporter_debug_mode]
end