Added "debug.tpl" file

The brains of the operation...