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?