Skip to content

Instantly share code, notes, and snippets.

@johanlunds
Created March 6, 2012 13:11
Show Gist options
  • Save johanlunds/1986190 to your computer and use it in GitHub Desktop.
Save johanlunds/1986190 to your computer and use it in GitHub Desktop.
ruby-debug + Pow
# 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