Quick Remote Debugging for Phusion Passenger
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
pkg
.gitignore
LICENSE
README
Rakefile
VERSION.yml
passenger_debugger.gemspec

README

passenger_debugger===============
Restart passenger in debug model

== INSTALL:
  gem install redinger-passenger_debugger -s http://gems.github.com
  
  In development.rb add:
    config.gem 'redinger-passenger_debugger', :lib => 'passenger_debugger'
  In your Rakefile add:
    require 'passenger_debugger'
  Add the following lines to your ~/.rdebugrc
    set autoeval
    set autolist
    set autoreload

== USAGE:
  # Restart passenger in debug
  rake passenger:debug

  # Start loading a web page
  # Connect to the remote process
  rdebug -c
  
  # Once you exit the debugger, you'll need to restart in debug mode to reconnect
 
== NOTES:
  If you need to exit out of debug mode in a hurry, just remove the tmp/debug.txt file
  
Pretty much swiped from http://duckpunching.com/passenger-mod_rails-for-development-now-with-debugger
COPYRIGHT
=========

Copyright (c) 2008 Christopher Redinger. See LICENSE for details.