[rspec-users] debuggin cucmber script in ruby

Ben Mabey ben at benmabey.com
Mon Apr 6 09:55:54 EDT 2009

Anil Gollaa wrote:
> basically to debug a ruby script we use:
> ruby -rspecs -rdebug file.rb
> which would debug ruby script line by line.
> Is there any such debuging feauture in cucumber.
I just require 'ruby-debug' and set a debugger statement where I want to 
stop it.  When you run cucumber it will pop into rdg where you set the 
If that doesn't make sense, this post has more detail:



More information about the rspec-users mailing list