There are a number of different routes in Django development that you may need to debug:
1. Debugging view endpoints when not using runserver (for example when testing out your actual deploy webserver). For this, none the debuggers will work, as you have no console to run through. I combat this by using winpdb that allows remote debugging.
2. Debugging either unittest based code or when using runserver, you can use the method described by hcarvalhoalves comment.
However, I still think that in lots of cases its more powerful to import in the code. With the necessary coverage in tests, it should always be picked up.