Solid foundation of the debug window, showing template variables
New template files for debug mode