When you are coding you want to know which template is used. This way is really easy to edit the right file. No need to tax your brain about the WordPress Template Hierarchy.
Here are two examples to do it:
1. Either print out the file that is used in the WP-adminbar:
2. Or just print the file name on the page directly: