These gems make debugging a Rails application much easier without using a real debugger:
group :development do
gem "better_errors"
gem "binding_of_caller"
gem "pry-rails"
end
Improved errors gives you a full stack trace with REPL in your browser when you overcome the error.
Pry binding.pry - , . , exit, .
, , best_errors REPL , pry , , .