Forum .LRN Q&A: Which template files is this portal page using again?

As a developer, have you ever wondered which template files (adp/tcl pairs) are involved in the rendering of a portal page in .LRN? I finally took the time to track down the piece of code that chooses the templates and added a debug printout. So if you turn on AOLServer debug mode and grep in your log file for portal::show_proc_helper you'll see which templates are used on each request.