Wordpress Plugin: Log PHP errors and debug info to the Chrome javascript console