4 ms·
The popular debugger for Ruby is a combination of two libraries: byebug and pry. Using these should allow you to step into/over code in a familiar way, if you'v
by chao- 2y ago
The popular debugger for Ruby is a combination of two libraries: byebug and pry. Using these should allow you to step into/over code in a familiar way, if you've used most breakpoint-based debuggers.
If you end up giving it a try, please report back!
- 3ds 2y agoThese two gems have been superseded by the `debug` gem. https://github.com/ruby/debug https://github.com/ruby/debug
- runako 2y agoCould you say more about that? I have been using pry, and it appears to still be updated. Is there a reason to stop using pry, or are you expressing a preference for the official debug gem? Thanks!
- celdon25 2y agoSeems like the latter to me. One or the other gem is fine depending on your preferred interface.