Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

"Debug and Run" Button doesn't recognize predefined interpreter in settings.json and selects a different one

Aberta
#363 3 comentários 0 reações 1 responsável Ver no GitHub

@karthiknadig já está trabalhando nisso.

Desde 8/8/2024.

Avaliação

Esta issue ainda não foi avaliada.

Descrição

triage-needed
Description

"Debug and Run" Button doesn't recognize predefined interpreter in settings.json and selects a different one, in contrary the Run icon on top left on the screen works as expected.

OS/Web Information
  • Web Browser: Chrome/firefox
  • Local OS: fedora
  • Remote OS: fedora
  • Remote Architecture: amd64
  • code-server --version: 4.22.0
  • ms python: v2024.2.1
Steps to Reproduce
  1. Launch code server
  2. Install ms-python extension
  3. Set on settings.json your preferred interpreter "python.defaultInterpreterPath": "/path/to/different/interpreter"
  4. Reload Window
  5. Create a test python file
  6. Press Run > icon on the top right. It will run your file without issue using the predefined interpreter.
  7. Now press on Run and Debug and see on the bottom right banner the in the python section use a different interpreter from the one that we pre defined.
Expected

The "Run and Debug" button to use the python interpreter that is been defined on the settings.json file by the user.

Linguagem predominante
TypeScript
Estrelas
181
Forks
126
Merge médio
8h 49min
PRs com merge (30d)
1

Guia de contribuição

Abrir o guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de microsoft/vscode-python-debugger

Todas as issues de microsoft/vscode-python-debugger

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.