Greg Hauptmann
2008-Dec-24 01:34 UTC
[rspec-users] how can I run a spec in DEBUG mode (e.g. like rdebug <spec_name>)
Hi, Is there a way to run a spec in debug mode (using rdebug) so I can use breakpoints in my spec code? 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20081224/7243cf30/attachment.html>
David Chelimsky
2008-Dec-24 01:43 UTC
[rspec-users] how can I run a spec in DEBUG mode (e.g. like rdebug <spec_name>)
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 >