1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Turn on autolist for debugging also

This commit is contained in:
Jeremy Kemper 2009-06-18 21:31:10 -04:00
parent 63cc6b7242
commit 54f4851770

View file

@ -29,7 +29,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