[Python] Python Debugger not contributing to built-in Terminal's environment

Discussão em 'Python' iniciado por Stack, Fevereiro 20, 2025.

  1. Stack

    Stack Membro Participativo

    I'm unable to get the Python Debugger to contribute to the built-in Terminal's output. I learned about that feature in a screenshot here: https://github.com/microsoft/vscode-python-debugger/wiki/No‐Config-Debugging.

    My ultimate goal is to get that no-config workflow documented there to work, but I am completely unable to get the Python Debugger to show up in that status popover that appears on hover over the zsh icon in the terminal pane, and that seems to be a prerequisite.

    I verified that I have the latest version of the Python Debugger extension enabled. I also found this existing post about the issue: vscode Python not contributing to Terminal Environment. I tried the solution in there of force-enabling the pythonTerminalEnvVarActivation experiment, that didn't enable it either.

    Confusingly, the instructions for no-config on the wiki page noted above also specifically say to force that same experiment off because it's not compatible, so that contradiction is extra confusing.

    Even ignoring that using no-config debugging is my ultimate goal, has anybody else hit this issue of Python Debugger not showing up in the popover and contributing to the environment, and how did you fix it?

    I am trying to get the new no-config Python debugging feature to work. One step

    Continue reading...

Compartilhe esta Página