Skip to content

Debugging not working on Insiders build of the Python extension  #10597

@luabud

Description

@luabud

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:

image

And this:

image

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:

  1. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue identified by VS Code Team member as probable bugimportantIssue identified as high-priority

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions