diff options
Diffstat (limited to 'railties/lib/test_help.rb')
-rw-r--r-- | railties/lib/test_help.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/railties/lib/test_help.rb b/railties/lib/test_help.rb index ca30bd3187..4318203a42 100644 --- a/railties/lib/test_help.rb +++ b/railties/lib/test_help.rb @@ -30,7 +30,10 @@ end begin require_library_or_gem 'ruby-debug' Debugger.start - Debugger.settings[:autoeval] = true if Debugger.respond_to?(:settings) + if Debugger.respond_to?(:settings) + Debugger.settings[:autoeval] = true + Debugger.settings[:autolist] = 1 + end rescue LoadError # ruby-debug wasn't available so neither can the debugging be end |