I was doing some integration work and noticed that I could not click on the debug bar. This is because the plugin I was working on adds more html content using wp_footer. You should try as much as possible to have the debug output as the last thing before the closing </body> tag. Therefore I will be making use of the optional ‘priority’ argument in do_action calls. I made this an arbitrary 1000. add_action('wp_footer',array('wp_pear_debug','show'),1000);
I am not sure if I should put this in the package as some people may for some reason or another want to have things outputted after the debug output.
I hope this can help anyone experiencing layout issues with this plugin.