Skip to content

Instantly share code, notes, and snippets.

@danott
Forked from jkronz/rdebug-pow.rb
Created February 7, 2012 18:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danott/1761051 to your computer and use it in GitHub Desktop.
Save danott/1761051 to your computer and use it in GitHub Desktop.
rdebug using pow
# config/initializers/danott_custom.rb
# connect using rdebug -c
if (Rails.env.development? || Rails.env.test?) && !$rails_rake_task
require 'ruby-debug'
Debugger.settings[:autoeval] = true
Debugger.settings[:autolist] = 1
Debugger.settings[:reload_source_on_change] = true
Debugger.start_remote
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment