typo
add more document for debug template. fix ANSI color flag