submit terrier with debug code