Im using the latest PyCharm 2016.2. I working on Django site with several app, and I want to debug a line in the models.py:
models.py
class LocationPolygon(models.Model):
    title = models.CharField(max_length=30)
    mpoly = models.MultiPolygonField(srid=4326, null=False, blank=False)
    objects = models.GeoManager()
    def get_tooltip_title(self):
        <some bugy code here>
        return ""
    def __unicode__(self):  # __unicode__ on Python 2
        return self.title + " | " + self.get_tooltip_title()
I want to debug the line "some bugy code here" just inside the function "get_tooltip_title", but when I press the debug button nothing happens and there is exit code 1 in the debug console...
 
     
     
    
