some useful ruby-debug settings
Some useful ruby debugger settings that can be put in the ~/.rdebugrc config file:-----set autolist
set listsize 70
set autoreload
----- the first shows the code context after each step
- the second sets the number of lines that should be shown when the list command is invoked (only 10 by default)
- the third automatically reloads the sources if they were changedoh ... and within the debugger use
l=
to list the current context (even if you typed 'l' a few times before)