Skip to content

Instantly share code, notes, and snippets.

@dcorking
Created August 4, 2013 05:20
Show Gist options
  • Save dcorking/6149271 to your computer and use it in GitHub Desktop.
Save dcorking/6149271 to your computer and use it in GitHub Desktop.
Making the debugger available to Rails server
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'
@dcorking
Copy link
Author

dcorking commented Aug 4, 2013

With these lines, do you still need the --debugger option to rails server? Are these lines necessary and sufficient to make the debugger available everywhere in Rails 3 when Ruby invokes 'debugger', or when Ruby crashes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment