Alex Rivera | Logout

How do you debug Mako templates?

Asked 2008-12-23T23:43:30.430
46

So far I've found it impossible to produce usable tracebacks when Mako templates aren't coded correctly.

Is there any way to debug templates besides iterating for every line of code?

Edit
Report

1 Answer

1

I break them down into pieces, and then reassemble the pieces when I've found the problem.

Not good, but it's really hard to tell what went wrong in a big, complex template.

answered 2008-12-24T01:49:17.417

Your Answer