Created
April 2, 2012 22:46
-
-
Save costa/2287752 to your computer and use it in GitHub Desktop.
put this in your rails project's ./config/environments/development.rb (or equivalent); see http://mines.mouldwarp.com/2012/04/pow-guard-and-rdebug-staying-in-web-app.html
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
if ENV['RUBY_DEBUG_PORT'] | |
Debugger.start_remote nil, ENV['RUBY_DEBUG_PORT'].to_i | |
else # optional | |
Debugger.start_remote | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment