title: Debugging in CodeIgniter (and MVC)
body: <p>Often times I feel the need to dump a variable for debugging purpose. In CodeIgniter I am struggling to do that since I cannot simply  "echo" a variable without passing it to the view first, which I think is pain-staking. I have read the official documentation, though I had found a good solution with the log_message function but cannot make it work, even though I successfully made the "logs" folder writable and changed the "threshold" as advised. Any suggestions?</p>
  
  <p><a href="https://www.codeigniter.com/user_guide/general/errors.html" rel="noreferrer">https://www.codeigniter.com/user_guide/general/errors.html</a></p>