Combine debug IF statments