Created
October 31, 2011 17:00
-
-
Save hjdivad/1328008 to your computer and use it in GitHub Desktop.
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
# environments/development.rb | |
# require ruby-debug if you're not in bundler | |
Signal.trap("USR1"){ debugger } | |
# Then in bash (alias for convenience) | |
# kill -usr1 `cat tmp/pid/server.pid` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment