set debugging flag