Rails Debugger - Notes

Menu

Random notes about the debugger Gem in Ruby

Debug a Gem

rdbg -c -- ruby -Ilib exe/log_sense -i log.log -o output.html

Watch a Variable

How does a specific variable look like?

rdbg -c -- ruby -Ilib exe/log_sense -i log.log -o output.html
(rdbg) watch @data
(rdbg) continue