Force a debug console flush on mysql errors.