[Python] Run in vscode does nothing

Discussão em 'Python' iniciado por Stack, Setembro 25, 2024.

  1. Stack

    Stack Membro Participativo

    When I try to run any python script in my venv in vscode nothing happens except the debug tool bar pops up briefly and goes away. Didnt have any issues now its not working without me knowingly changing anything. I can run properly if I manually type the program into the python terminal. Is there a way to tell what vscode is trying to run?

    Tried restarting closing all the folders ctrl+shift+n interpreter path is set to python in the venv

    this is my launch.json

    {
    "configurations": [
    {
    "name": "Python Debugger: Current File",
    "type": "debugpy",
    "request": "launch",
    "program": "${file}",
    "console": "integratedTerminal",

    },

    ]
    }

    Continue reading...

Compartilhe esta Página