Send print_r output to Firebug Console.log()
Many times when we are developing projects we need to debug so we print something using print_r (maybe you’re using var_dump) it meshes up our page. So Here I found a function that will be helpful for you.