document debug interface