Methods
C
N
Class Public methods
new(app)
    # File railties/lib/rails/rack/debugger.rb, line 4
 4:       def initialize(app)
 5:         @app = app
 6: 
 7:         ARGV.clear # clear ARGV so that rails server options aren't passed to IRB
 8: 
 9:         require 'ruby-debug'
10: 
11:         ::Debugger.start
12:         ::Debugger.settings[:autoeval] = true if ::Debugger.respond_to?(:settings)
13:         puts "=> Debugger enabled"
14:       rescue LoadError
15:         puts "You need to install ruby-debug to run the server in debugging mode. With gems, use 'gem install ruby-debug'"
16:         exit
17:       end
Instance Public methods
call(env)
    # File railties/lib/rails/rack/debugger.rb, line 19
19:       def call(env)
20:         @app.call(env)
21:       end