mirror of
https://github.com/github/rails.git
synced 2026-02-05 03:35:14 -05:00
use autoeval not autoirb, it's mostly equivalent but doesn't make stepping frustrating [Koz].
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8243 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -22,7 +22,7 @@ def start_debugger
|
||||
begin
|
||||
require_library_or_gem 'ruby-debug'
|
||||
Debugger.start
|
||||
Debugger.settings[:autoirb] = true if Debugger.respond_to?(:settings)
|
||||
Debugger.settings[:autoeval] = true if Debugger.respond_to?(:settings)
|
||||
puts "=> Debugger enabled"
|
||||
rescue Exception
|
||||
puts "You need to install ruby-debug to run the server in debugging mode. With gems, use 'gem install ruby-debug'"
|
||||
|
||||
Reference in New Issue
Block a user