See https://github.com/ruby/debug/ for guidance on usage. Most importantly, this allows for stepping through code.