Added the debugger in the template itself.