In this talk, I want to show you how adopting the Ruby debugger (ruby/debug
) can be the single best thing to improve your productivity. It will include:
- The difference between puts debugging, REPL (
Pry
/IRB
) debugging and debugger debugging - Comparison with byebug
- How you can use debugger to achieve even better puts and REPL debugging result:
- Replace REPL debugging with breakpoint commands
- Replace puts debugging with tracing and context commands
- Automate debugging steps with
do:
andpre:
options - Remote debugging capability
- The debugging tooling spectrum and when you should not use the debugger