An improved var_dump for CodeIgniter, easier to read output with colors and more infos.
simply load the library:
$this->load->library('Vd');
Then when you want to debug a var simple:
vd::dump($var);
This will directly output the debug.
If you want to output elsewhere you can set the return parameter to true:
$debug = vd::dump($var, 'My var name here', TRUE);