Unable to set breakpoint in Django template


The blog http://blog.jetbrains.com/pycharm/2011/09/django-templates-debugging-with-pycharm/  says "Just place a breakpoint in your template file at a line with any Django tag or expression."

This doesn't seem to work always. I have two django projects. In one of the projects, I am able to set break point in a template file. But I am not able to set breakpoint in a template file in the second project.

Any ideas on why I am not able to do that in one project. Is there some setting that I am missing?



1 comment
Comment actions Permalink

I figured it out :-). The 'tempate language' setting was set to 'None'. Once I changed it to Django. It works.



Please sign in to leave a comment.