Debugging: warnings to errors, errors turn on debug