The debugger gem can be used but it still has issues.
Install byebug which was written for Ruby 2.0 debugging.
For breakpoints, use the byebug command in your code instead of debugger.
The debugger gem can be used but it still has issues.
Install byebug which was written for Ruby 2.0 debugging.
For breakpoints, use the byebug command in your code instead of debugger.