Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
docs: Exemplify a Django app debug configuration (#53545)
Pablo Soares920ead54b70e
diff --git a/docs/src/languages/python.md b/docs/src/languages/python.mdindex 0f34fdb7521..4687cf15d86 100644--- a/docs/src/languages/python.md+++ b/docs/src/languages/python.md@@ -398,6 +398,37 @@ requirements.txtThese can be combined to tailor the experience for web servers, test runners, or custom scripts.+#### Debug a Django App++For projects using Django with a structure similar to the following:++```+my_django_project/+ manage.py+ …+ my_django_app/+ migrations/+ templates/+ models.py+ urls.py+ …+```++…the following configuration can be used:++```json [debug]+[+ {+ "label": "Python: Django",+ "adapter": "Debugpy",+ "request": "launch",+ "program": "manage.py",+ "args": ["runserver"],+ "django": true+ }+]+```+## TroubleshootingIssues with Python in Zed typically involve virtual environments, language servers, or tooling configuration.