tags:

views:

166

answers:

2

Does ruby have a stepwise debugger, similar to perl's "perl -d"?

+6  A: 

Check out the ruby-debug gem and the rdebug command. Here is a random blog article about ruby-debug to get you started.

jcoby
A: 

From the command line (if you have the debug module available):

ruby -r debug /path/to/ruby_script.rb
Kevin