In my Rails application, I am able to use byebug in controller.
However, neither adding byebug or console in view is helping me to get a debug console.
I am using Haml, thus it's not <% console %>. In other words, the lines (one of the two at-a-time) I used in the view are:
byebug
console
I haven't tried Pry or Pry-debug, but apparently they also don't work in views?
Am I using these gems incorrectly or is there another way to add debugs in views?
Thanks, Kumar.