Even if that seems common sense, i found out that there's not that much sources that explains how to use PDB with Django's bundle webserver. So here we go, let's say you have some treatment like that :