Last Updated: February 25, 2016
·
1.708K
· corysimmons

Pry is a better debugger for Ruby/Rails

Add binding.pry anywhere in your Ruby/Rails projects and when the program reaches that breakpoint it will expose a nice console.

If you're inside of a loop, you can break out of this loop with exit-program (or !!!).