Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Doc] Debug configuration options python doesn't seem to be valid #13380

Closed
jiasli opened this issue Aug 11, 2020 · 3 comments
Closed

[Doc] Debug configuration options python doesn't seem to be valid #13380

jiasli opened this issue Aug 11, 2020 · 3 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug

Comments

@jiasli
Copy link
Member

jiasli commented Aug 11, 2020

Environment data

  • VS Code version: 1.47.3
  • Extension version (available under the Extensions sidebar): v2020.7.96456
  • OS and version: Windows 10

The doc of debug configuration has changed pythonPath to python in microsoft/vscode-docs#3560, but python doesn't seem to be valid:

image

Also the default value is now ${command:python.interpreterPath} (#11789 (comment)) instead of ${config:python.pythonPath} provided in the doc.

Using ${config:python.pythonPath} will give error when start debugging:

image

At the same time, using ${command:python.interpreterPath} is inconsistent with "python.pythonPath" in workspace's settings.json.

@jiasli jiasli added triage-needed Needs assignment to the proper sub-team bug Issue identified by VS Code Team member as probable bug labels Aug 11, 2020
@ghost ghost removed the triage-needed Needs assignment to the proper sub-team label Aug 11, 2020
@int19h
Copy link

int19h commented Aug 12, 2020

The docs are correct in this case, but the extension doesn't reflect it in the schema.

It also needs changes to all code paths in the extension that get or set "pythonPath" in the debug configuration.

@int19h
Copy link

int19h commented Aug 12, 2020

Duplicate of #12462

@int19h int19h marked this as a duplicate of #12462 Aug 12, 2020
@int19h int19h closed this as completed Aug 12, 2020
@ghost ghost removed the triage label Aug 12, 2020
@jiasli
Copy link
Member Author

jiasli commented Aug 13, 2020

@int19h, thanks for the rapid response. Perhaps ${config:python.pythonPath} in the doc should be changed to ${command:python.interpreterPath} as well?

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

3 participants