Debugging Templates in Django

Answered

Running PyCharm 2017.2 build 172.3317.103 on a MacBook Pro. Been trying to debug Django Templates following this JetBrains article  and everything is set up accordingly. When I set a breakpoint in the template, they are completely ignored. 

I can get breakpoints to hit in the views.py file, but not the templates. Is there a trick to get them to hit?

Thanks
Jay

0
1 comment

Hi! Which version if Django are you using? Could you please set environment variable PYCHARM_DEBUG=True and provide console output? Thank you!

0

Please sign in to leave a comment.