add debug template file