Enable debug by default and display visual error messages.