Pry-- The Good Parts!
summary
Pry is a drop‑in replacement for irb that claims to cut debugging time by giving a real interactive console mid‑run and it delivers: binding.pry opens a REPL at the point of failure so code can be inspected and modified, the REPL reloads edited files automatically, special locals like _ and _file track outputs and files, and commands such as edit --x and $ show source speed fixes. Plugins like pry-rescue and pry-stack-explorer attach the REPL to exceptions, pry-debugger adds stepping, and the project reports about 2 million downloads and 71 contributors.
AI-written summary · about
chapters (34)
- 0:00Introduction
- 1:57History of Pry
- 2:29Writing a blog engine
- 4:01Starting Pry
- 5:40Base64Decode
- 6:26QuestionMark
- 6:54Encode64
- 7:44Evaluation
- 8:31HTTP Basic auth
- 8:50Prycat
- 9:36Underfile
- 10:05HTTP Header
- 10:18WTF
- 11:10Dollar
- 12:13Edit
- 12:29Readline
- 13:00Edit command
- 13:16Reverse search
- 14:07Decode
- 16:03Making URLs Pretty
- 17:06Examining the Code
- 19:02Checking the Post Object
- 19:36Checking the Locals
- 20:53Checking the params
- 22:13Replacing the symbol
- 22:58What is main
- 23:33Where am I
- 24:18semicolon
- 25:35Binding Pry
- 28:55Summary
- 29:25Pry Rescue and Pry Explorer
- 30:34Better Errors
- 31:11Pride debugger
- 31:30Pry Plus








