Adding the following snippet to your theme’s functions.php file will let you print current WordPress template being used.