The joy of Ruby debugging - Pry universe
summary
Claims that Pry transforms Ruby debugging by letting code stop at runtime with binding.pry, inspect live objects including private methods, view source and docs, edit files and reload without restarting, and attach remotely with pry-remote. Demo walks through a Hanoi solver: Pry exposes a double-pop bug, permits in-place fix, and reruns tests until all assertions pass. Plugins like pry-rescue and pry-bug add automatic repl-on-exception and stack navigation so debugging becomes interactive and much faster.
AI-written summary · about
chapters (11)
- 0:00Introduction and speaker intro
- 2:09Debugging in Ruby explained
- 4:57What is Pry and why use it
- 7:45Pry features and commands
- 10:12Binding.pry and runtime debugging
- 15:56Live debugging demo
- 21:18Pry-rescue for exceptions
- 26:01Extending Pry with custom commands
- 32:51Debugging third-party gems
- 39:21Pry for code exploration
- 41:10Why Pry changes debugging








