title: CodeIgniter debug function: How can i display/debug formated value of any variable from controller?
body: <p>Is there any built-in debug function for codeigniter to use in controller?</p>
  
  <p>In cakephp there is debug($variable) that one can use in controller.</p>
  
  <p>I can use var_dump($variable); or print_r($variable);</p>
  
  <p>But is there any built-in debug function for codeigniter to use in controller to get formatted result of any variable?</p>