public
Created

  • Download Gist
gistfile1.rb
Ruby
1 2 3 4 5 6 7 8
# Ruby debugger connection:
# Just '$ touch tmp/debug.txt' and '$ rdebug -c' to connect
if File.exists?(File.join(Merb.root, "tmp", "debug.txt"))
require 'ruby-debug'
Debugger.wait_connection = true
Debugger.start_remote
File.delete(File.join(Merb.root, "tmp", "debug.txt"))
end

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.