Finally got templates showing in debug, fixed debug size and save it on localStorage
Much improved app dev experience, full files now shown in debug