Skip to content

Instantly share code, notes, and snippets.

@dduvnjak
Created August 22, 2013 13:36
Show Gist options
  • Save dduvnjak/6307263 to your computer and use it in GitHub Desktop.
Save dduvnjak/6307263 to your computer and use it in GitHub Desktop.
Quick Ruby debug (thanks to @hkraji)
set autolist
set autoeval
set autoreload
set listsize 20
# DEBUG SNIPPET >>> REMOVE <<<
require (RUBY_VERSION.match(/1\.8\..*/) ? 'ruby-debug' : 'debugger');Debugger.start; debugger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment