I’m finding that if I have errors in my code that’s being called by my custom widget’s form() method, I don’t see any error display – the only indication I have is that in Admin > Appearance > Widgets the sidebars are all gone.
What can be done to:
a) avoid completely destroying all sidebars in Admin whenever your code has an error
b) get more information about what is causing the error or exception?
Since the question was asked in May, the WP core team released the Admin Debug Bar, and its ancillary plugin Debug Bar Console is exactly the balm to ease any WP Programmer’s pain.
Here ya go
http://andrewnacin.com/2010/04/23/5-ways-to-debug-wordpress/