Created
March 6, 2012 13:11
-
-
Save johanlunds/1986190 to your computer and use it in GitHub Desktop.
ruby-debug + Pow
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
# Put in config/initializers/remote_debugger_in_development.rb: | |
if Rails.env.development? | |
require 'ruby-debug' | |
Debugger.start_remote # connect with "rdebug -c" | |
Debugger.settings[:autoeval] = true | |
Rails.logger.info "Remote debugger enabled." | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment