Last active
August 29, 2015 14:02
-
-
Save costa/bf49749829003a9f4332 to your computer and use it in GitHub Desktop.
put this in your rails project's config/environments/development.rb (or your platform's equivalent); see http://mines.mouldwarp.com/2014/06/pow-and-byebug-staying-in-web-app-dev.html
This file contains hidden or 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'] # NOTE no RUBY_DEBUG_PORT in the environment means no remote debugging, okay? | |
Byebug.start_server 'localhost', ENV['RUBY_DEBUG_PORT'].to_i | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment