Another Japan in the World

Jun Aruga's blog.

Entries from 2016-03-23 to 1 day

Debugger in Ruby

IT

ruby -rdebug It is good to use it without any additional gem. $ ruby -rdebug your_ruby.rb (rdb:1) h Debugger help v.-0.002b Commands b[reak] [file:|class:]<line|method> b[reak] [class.]<line|method> set breakpoint to some position wat[ch] <expression> set watchpoint to some ex</expression></line|method></line|method>…