While there are multiple ways to use Ruby debugger, for my first Ruby script (?) I found starting the script via
rdbg to be the easiest.
Debugger has all the basic command I have used elsewhere.
ppfor pretty print
For subsequent times, using
require 'debug' followed by
binding.break may be better.
This README has all the details.