Skip to content

[BUG] Debugging with purpose ignored in user/workspace settings. #525

Open
@byehack

Description

@byehack

Environment data

  • VS Code version: v1.60.0
  • Extension version (available under the Extensions sidebar): v2021.9.1246542782
  • OS and version: win10 20h2 64bit
  • Python version (& distribution if applicable, e.g. Anaconda): py3.7.7 32bit
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): `N/A
  • Relevant/affected Python packages and their versions: pylance v2021.9.4, jupyter v2021.8.2041215044
  • Value of the python.languageServer setting: Default

Steps to reproduce:

  1. add this configuration in workspace/user settings:
    "launch": {
        "version": "0.2.0",
        "configurations": [
            {
                "name": "Python: Current File - Editor button",
                "type": "python",
                "request": "launch",
                "program": "${file}",
                "console": "integratedTerminal",
                "justMyCode": false,
                "purpose": ["debug-in-terminal"]
            }
        ]
    }
  1. try debug from editor button, it doesn't work. but in folder launch.json it works.

Logs

EMPTY

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue identified by VS Code Team member as probable bugneeds PRReady to be worked on

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions