[Python] VS code debug toolbar does not appear

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

  1. Stack

    Stack Membro Participativo

    i am facing a problem in relation to the debugging of a azure function app. What happens is that i run the debugger. What happens is that initially the process install the required packages and begin with this message

    Looking in indexes: https://pypi.org/simple, https://****@xcompany.pkgs.visualstudio.com/BLA-PRODUCT/_packaging/ADAM/pypi/simple/ Processing c:\users\myself\documents\repositories\company-rgm-othercompany-data-ingestion DEPRECATION: A future pip version will change local packages to be built in-place without first copying to a temporary directory. We recommend you use --use-feature=in-tree-build to test your packages with this new behavior before it becomes the default. pip 21.3 will remove support for this functionality. You can find discussion regarding this at https://github.com/pypa/pip/issues/7555.

    and that is ok since does not stop the debugger. It just stay there with this message for a long time and let me wait. But in the end the debugger start.

    After the package installation i get a pop up with an error message like there is another debugger active: "Server[pid=17388] is already being debugged"

    This message does not stop the execution but i do not have any toolbar and i cannot top at any breakpoints. The code is executed fully but the debugger is not usable.

    I am not sure is the same problem. On a pc of other people (linux users, i ma working on windows) they have the same error message but they have the toolbar available.

    If can be useful i insert the launch.json:

    {
    "version": "0.2.0",
    "configurations": [
    {
    "name": "Attach to Python Functions",
    "type": "debugpy",
    "request": "attach",
    "connect":{
    "host": "localhost",
    "port": 9091
    },
    "preLaunchTask": "func: host start",
    "justMyCode": false
    }
    ]


    }

    My purpose is having the toolbar available. I am sorry i cannot upload error images that can be useful. Thank you in advance for your help.

    Continue reading...

Compartilhe esta Página