cgc debug