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:
parent
63cc6b7242
commit
54f4851770
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue