chang the way to tell whether is debug