check whether to show debug info or not...