How to print page/node templates being used on a page? I'm using Drupal 6.19 and trying to debug why a custom page template for my login page isn't being picked up.
I've tried to use devel themer, but I don't see the "widget" when I'm not logged in, and of course I can't see the login page when I am.

I'm hoping for a script that I can drop in on my page tpl that will print the current template being used. Or maybe there are other suggestions?
For Drupal 7, there's a new 'theme debug mode'. This eliminates the need for installing the Theme Developer module and its dependencies, if all you want is to see the templates being used on a page.


  As of Drupal 7.33, Drupal core has a theme debug mode that can be
  enabled and disabled via the theme_debug variable. Theme debug mode
  can be used to see possible template suggestions and the locations of
  template files right in your HTML markup (as HTML comments). To enable
  it, add this line to your settings.php:


$conf['theme_debug'] = TRUE;


see https://www.drupal.org/node/223440