The Magic of Ruby's New Debug Gem

October 13, 2022

One of the best parts of updating to the latest version of the Ruby programming language is the new and improved debug gem. I find it easier to use than byebug and love that it utilizes syntax highlighting.

You Can Use This with VSCode

Folks that develop in JavaScript may be familiar with using their text editor to debug. Ruby now can do this with vscode-rdbg. It can speed up your debugging process.

Don’t Forget syntax_suggest

In addition to using the new debug gem, Ruby 3.1 includes syntax_suggest which helps you easily find unmatched do...end statements.

Want to get posts like this in your email?

This work by Matt Zagaja is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.