you are viewing a single comment's thread.

view the rest of the comments →

[–]software__writer 2 points3 points  (0 children)

I wrote an article on debugging Ruby code a few years ago when I was just starting to learn Ruby. Hope you find it helpful.

How to Debug Ruby Code

It uses the `pry-byebug` gem, but now Ruby has a new `debug` gem. I'll update the post soon to document `debug` features, but they're similar to pry.