I can debug a Django project if I debug as Django project, I can run an interactive shell and enter code / call methods there. Is there a way to combine the two?
I'd like to set a breakpoint in a Django model, then from an interactive console import the model and call a method to hit the breakpoint. But I'm not sure how to do so or if it is even possible.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I can debug a Django project if I debug as Django project, I can run an interactive shell and enter code / call methods there. Is there a way to combine the two?
I'd like to set a breakpoint in a Django model, then from an interactive console import the model and call a method to hit the breakpoint. But I'm not sure how to do so or if it is even possible.