Last active
December 24, 2015 07:18
-
-
Save hkraji/6762408 to your computer and use it in GitHub Desktop.
Rdebugrc, ruby debug
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### 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