byebug is default debugger in Rails
Rails framework now relies on Byebug for all your debugging needs and it is advisable to switch form other default debugging gem when you start working with Riuby on Rails.
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem 'byebug'