HassenPy / django-pdb

Gives you `manage.py runserver --pdb` and `manage.py test --pdb`
394 stars 61 forks source link

Easier debugging for class based views #15

Closed akaihola closed 10 years ago

akaihola commented 12 years ago

If a CBV is debugged using the pdb or ipdb GET parameter, the console drops into the debugger in the view() function inside the django.views.generic.base.View.as_view() method closure. It takes a few careful steps to end up in actual view code of the application.

Off the top of my head, I can't think of an easy way to make it run a little further and only break when view code outside the Django core is entered. However, it would be very useful if that was possible.

tomchristie commented 12 years ago

Yup, that sounds like a valid request to me. One for the TODO list.

tomchristie commented 10 years ago

Two years later, I'm closing this. No longer accepting new functionality for this project.