set trace for debug