[Python] Visual Studio Code freezes after executing program in python [duplicate]

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

  1. Stack

    Stack Membro Participativo

    I have been working with VS Code in Raspdebian to program in Python with no issues since last year. However, today I have launched VS code again and when I execute the same program code I get the follwing message:

    [​IMG]

    When this window appears, the program is still executing, however I am not able to play with the terminal, for example, to check the logs, which I need for debugging purposes.

    I am launching the program using the button "Run Python in dedicated terminal". I am using a virtual environment, of course. The only thing i have done today was updating Raspdebian with latest updates.

    I have disabled pylance. Also I have uninstall VS code and re-installed it with no success. What could be wrong?. Is there anyway I can check what the cause of this error is?.

    Continue reading...

Compartilhe esta Página