Skip to content

Instantly share code, notes, and snippets.

@trotter
Created March 27, 2010 17:52
Show Gist options
  • Select an option

  • Save trotter/346251 to your computer and use it in GitHub Desktop.

Select an option

Save trotter/346251 to your computer and use it in GitHub Desktop.
# Add this to your test helper to make it easy to add a debugger statement anywhere.
class Object
def debug
require 'ruby-debug'; debugger
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment