Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
MatthiasPortzel
· 1y ago · 0 comments
`binding.irb` and `show_source` have been magical in my Ruby debugging experience. `binding.irb` to trigger a breakpoint, and `show_source` will find the source code for a method name, even in generated code somehow.
Comments
[–]
richjdsmith
1y ago
… I’ve been using Ruby for years and never thought to use show_source like this in a debugger. Thanks kind stranger, you just made my day!