run:
D:\work\iov-yyue\cloud-management\venv\Scripts\python.exe D:/work/iov-yyue/cloud-management/manage.py runserver --settings=cloudManagement.settings.dev
Watching for file changes with StatReloader
Performing system checks
System check identified no issues (0 silenced).
You have 18 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): admin, auth, contenttypes, sessions.
Run 'python manage.py migrate' to apply them.
March 01, 2022 - 16:21:11
Django version 4.0.2, using settings 'cloudManagement.settings.dev'
Starting development server at http://127.0.0.1:8000/
Quit the server with CTRL-BREAK.
debug:
D:\work\iov-yyue\cloud-management\venv\Scripts\python.exe "D:\Program Files\JetBrains\PyCharm 2021.2\plugins\python\helpers\pydev\pydevd.py" --multiproc --qt-support=auto --client 127.0.0.1 --port 63870 --file D:/work/iov-yyue/cloud-management/manage.py runserver --settings=cloudManagement.settings.dev
Connected to pydev debugger (build 212.4746.96)
D:\work\iov-yyue\cloud-management\venv\Scripts\python.exe: can't find '__main__' module in ''
你的pycharm是什么版本?只有专业版才支持django的debug