Add warning and debug flags