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.
If a CBV is debugged using the
pdb
oripdb
GET parameter, the console drops into the debugger in theview()
function inside thedjango.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.