- show_cmds
- whereami
- l or list
- list 22-28 # Range of lines requested
- show_source "Class or Class#method"
- info # Instance variables, local variables, etc
- step # go for next line/point of execution after the breakpoint (line by line)
- continue # go for next breakpoint or end of program
- next # next step inside the same code, no deeper like step
- break # list all breakpoints or set additional breakpoints
- break 22 # set breakpoint at line 22
- break /path/file.rb:22
- break Class#method
- continue # go for next breakpoint or end of program
- bt or backtrace # List the stack trace // all frames. all things that happened before hitting the breakpoint
- up # move up the stack trace
- down # move down the stack trace
- frame 2 # move to frame 2
- list # list inside frame to show code
- info locals # show local variables
- help <cmd>
- help
- debug # Inside irb invoke debug to start debugging
- binding.b
- binding.break
- debugger