Skip to content

Instantly share code, notes, and snippets.

@hkraji
Last active December 24, 2015 07:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hkraji/6762408 to your computer and use it in GitHub Desktop.
Save hkraji/6762408 to your computer and use it in GitHub Desktop.
Rdebugrc, ruby debug
### Ruby
## Breakpoint
# DEBUG SNIPPET >>> REMOVE <<<
require (RUBY_VERSION.match(/1\.8\..*/) ? 'ruby-debug' : 'debugger');Debugger.start; debugger
### System
## Create file ~/.rdebugrc, content:
set autolist
set autoeval
set autoreload
set listsize 40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment