socket-debugger is a Rails plugin to allow use of ruby-debug in situations where the server is not on a pty (aka Passenger)
Once your server of choice is started, use rake debug:socket
to connect
to the debugger.
script/plugin install git://github.com/ddollar/socket-debugger.git
Thanks to Jordi Bunster (http://bunster.org) for the idea to pluginize this.
Copyright (c) 2008 David Dollar, released under the MIT license