Skip to content

Instantly share code, notes, and snippets.

@seamusabshere
Created January 15, 2010 02:18
Show Gist options
  • Save seamusabshere/277729 to your computer and use it in GitHub Desktop.
Save seamusabshere/277729 to your computer and use it in GitHub Desktop.
if File.exists?(File.join(RAILS_ROOT,'tmp', 'passenger_debug.txt'))
require 'ruby-debug'
Debugger.wait_connection = true
Debugger.start_remote
File.delete(File.join(RAILS_ROOT,'tmp', 'passenger_debug.txt'))
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment