Forum: RSpec how can I run a spec in DEBUG mode (e.g. like rdebug <spec_name>)

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
D5df9fcd7ef4c3c937435d7d6adeab2a?d=identicon&s=25 Greg Hauptmann (Guest)
on 2008-12-24 02:44
(Received via mailing list)
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
5d38ab152e1e3e219512a9859fcd93af?d=identicon&s=25 David Chelimsky (Guest)
on 2008-12-24 02:44
(Received via mailing list)
On Tue, Dec 23, 2008 at 8:34 PM, Greg Hauptmann
<greg.hauptmann.ruby@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
This topic is locked and can not be replied to.