I get the following errors when I try to set a breakpoint for html files in a Django project:
"A breakpoint could not be inserted at this location"
"This is not a valid location for a breakpoint"
In .py files I can set breakpoints but they will not get hit.
If I make a new Djnago project the breakpoints can be set in both html and .py files and they do get hit and therefore I do not think there is anything wrong with my Visual Stuido installation.
I have tried removing the projects .suo file but it does not make any difference and I have tried setting breakpoints with both the mouse pointer and F9 key.
I'm using Visual Studio 2013 with update 4 and PTVS 2.1 (Python Tools for visual studio).