Environment data
- PTVSD version: debugpy 1.0.0b3
- OS and version: Windows 10
- Python version (& distribution if applicable, e.g. Anaconda): Python 3.7.6 venv
- Using VS Code or Visual Studio: VS Code 1.43.0
- Python Extension version: 2020.4.67731-dev
Actual behavior
Debugging tries to start:
C:\Users\luabud\Apps\MVPSummit2020\tweeterapp> cmd /C "set "DEBUGPY_LAUNCHER_PORT=58504" && set "DEBUGPY_LOG_DIR=c:\Users\luabud\.vscode\extensions\ms-python.python-2020.4.67731-dev" && c:\Users\luabud\Apps\MVPSummit2020\tweeterapp\env\Scripts\python.exe c:\Users\luabud\.vscode\extensions\ms-python.python-2020.4.67731-dev\pythonFiles\lib\python\debugpy\wheels\debugpy\launcher C:\Users\luabud\Apps\MVPSummit2020\tweeterapp\manage.py runserver "
But then it shows this:

And this:

Launch.json file:
{
"version": "0.2.0",
"configurations": [
{
"name": "Python: Django",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}\\manage.py",
"args": [
"runserver",
"--noreload"
],
"django": true,
"logToFile": true
},
]
}
Steps to reproduce:
- On Windows, have a venv selected and try to debug a Django application with the above configuration.
Logs
debugpy.adapter-4500.log
debugpy.launcher-7536.log
debugpy.pydevd.10892.log
debugpy.pydevd.16616.log
debugpy.server-10892.log
debugger.vscode_d61238c6-9c58-4bfe-af6e-3b25496517dc.log
Environment data
Actual behavior
Debugging tries to start:
But then it shows this:
And this:
Launch.json file:
{ "version": "0.2.0", "configurations": [ { "name": "Python: Django", "type": "python", "request": "launch", "program": "${workspaceFolder}\\manage.py", "args": [ "runserver", "--noreload" ], "django": true, "logToFile": true }, ] }Steps to reproduce:
Logs
debugpy.adapter-4500.log
debugpy.launcher-7536.log
debugpy.pydevd.10892.log
debugpy.pydevd.16616.log
debugpy.server-10892.log
debugger.vscode_d61238c6-9c58-4bfe-af6e-3b25496517dc.log