Skip to content

Debug tool is not working on recent versions #19555

@miguelomp

Description

@miguelomp

I have VScode remotely to debug python code. The launch.json is ok, I already used in the past but now it stopped working.

I had to rollback the version of python extension to v2022.4.0 and now is working. I tested in the 3 most recent versions but it is not working.

My env:

  • some remote server with vscode
  • python and pylance extensions installed in remote server
  • remote server OS: ubuntu 18.04.2 LTS

My launch config

{
  "name": "some-project",
  "type": "python",
  "request": "launch",
  "python": "/home/ubuntu/.local/share/virtualenvs/some-project-pipenv-loc/bin/python",
  "program": "/home/ubuntu/some-project/test_main.py",
  "console": "integratedTerminal",
  "envFile": "/home/ubuntu/some-project/.env",
  "cwd": "/home/ubuntu/some-project/",
  "justMyCode": true    
}

Let me know if extra information is needed.

Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    triage-neededNeeds assignment to the proper sub-team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions