only display missing type/handler warnings in debug mode