Pry

Back to Languages/Ruby

gem install pry. Can be used as a replacement REPL, and also as a debugging tool.

require 'pry'
# ... code
binding.pry # opens a REPL at this state of the program