If you can describe your workflow, I'm open to integrating something like this more officially. When I was debugging jinja I would just manually call "lex" and print out the tokens.