How to use visual studio code to debug django

后端 未结 4 543
一向
一向 2021-01-31 04:00

I\'m new at django development and come from desktop/mobile app development with Xcode and related IDE.

I have to use Django and I was

4条回答
  •  春和景丽
    2021-01-31 04:42

    Only experimental configuration works for me.

    {
                "name": "Django",
                "type": "pythonExperimental",
                "request": "launch",
                "program": "${workspaceFolder}/manage.py",
                "args": [
                    "runserver",
                    "--noreload",
                    "--nothreading"
                ],
                "django": true
    },
    

    Standard config causes Unverified breakpoint issue.

提交回复
热议问题