0
python debug adapter not being found in vscode - WSL:Ubuntu

I'm trying to debug a python script in vscode using the Remote WSL extension with Python 3.9.1.

When I start debugging mode(F5), the below message is immediately shown:

Couldn't find a debug adapter descriptor for debug type 'python' (extension might have failed to active)

The message offers me to Open launch.json, I still don't know what I have to change in my json file, below are my current settings:

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Python: Current File",
            "type": "python",
            "request": "launch",
            "program": "${file}",
            "console": "integratedTerminal",
            "env": {
                "PYTHONPATH": "c:/<my_user_name>/projects",
            },
        }
    ]
}

What I have tried until now:

  • Re-installed Python extension and read the doc. However the doc does not help to solve the issue at all.
  • Reload vscode in order to reload the extensions, as the error shows an extensions might have failed to active. No success.


Python 28-01-21, 4:04 p.m. samrtr
0
in time I know that we'll both see
that we're all we need cookie clicker good game
01-02-21, 9:46 a.m. peterjohnee1


Log-in to answer to this question.