Created
August 4, 2013 05:20
-
-
Save dcorking/6149271 to your computer and use it in GitHub Desktop.
Making the debugger available to Rails server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Gemfile: gem 'debugger' | |
.rspec:--debug --color | |
config/environments/development.rb: config.assets.debug = true | |
config/environments/test.rb: config.assets.allow_debugging = true | |
features/support/env.rb:require 'ruby-debug' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With these lines, do you still need the
--debugger
option torails server
? Are these lines necessary and sufficient to make the debugger available everywhere in Rails 3 when Ruby invokes 'debugger', or when Ruby crashes?