force exceptions in debug mode