document debug option