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