Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Default to "autolist on" in ruby debugger

Is there a way to set up certain defaults in the debugger? I'm not finding a way to do this..

like image 851
Jeremy Smith Avatar asked Dec 17 '22 14:12

Jeremy Smith


1 Answers

create the file ~/.rdebugrc

add this:

set autolist
set autoeval
set autoreload

credit to (and more info) here: http://pivotallabs.com/users/chad/blog/articles/366-ruby-debug-in-30-seconds-we-don-t-need-no-stinkin-gui-

like image 148
ffoeg Avatar answered Jan 02 '23 06:01

ffoeg