[rspec-users] how can I run a spec in DEBUG mode (e.g. like rdebug <spec_name>)

David Chelimsky dchelimsky at gmail.com
Tue Dec 23 20:43:07 EST 2008

On Tue, Dec 23, 2008 at 8:34 PM, Greg Hauptmann
<greg.hauptmann.ruby at gmail.com> wrote:
> Hi,
> Is there a way to run a spec in debug mode (using rdebug) so I can use
> breakpoints in my spec code?

rdebug path/to/my_spec.rb

> I ask this noting I've got some differences in specs passing/failing
> depending on whether I run the spec via "ruby <spec file>" as opposed to
> "rake spec".  (raised in separate thread)
> thanks
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users

More information about the rspec-users mailing list