If you have VSCode, installed already before you could configure WSL, you could be facing this issue. Here's how I resolved it:

  1. To the bottom left corner of VSCode, you may find the environment choice. Natively, this corresponds to windows, you might have to switch this to Remote-WSL: New Window which will open VSCode in a new window.

  2. In the debug tab of VSCode, you don't have to edit any configuration, except you need to define the location of your interpreter. In my case, I defined the location to be as my virtual environments' bin/ directory.

Good Luck!

Answer from Sathiya Sarathi on Stack Overflow
🌐
GitHub
github.com › microsoft › debugpy › issues › 1166
'debug adapter' error in jupyter notebook · Issue #1166 · microsoft/debugpy
December 26, 2022 - "Couldn't find a debug adapter descriptor for debug type 'Python Kernel Debug Adapter' (extension might have failed to activate)"
Author   PeterM18
Discussions

Couldn't find a debug adapter descriptor for the debug type 'python' (extension might have failed to to activate)
Environment data VS Code version: 1.53.2 Extension version (available under the Extensions sidebar): v2021.2.576481509 OS and version: Windows 10 Home 20H2 Windows Feature Experience Pack 120.2212.... More on github.com
🌐 github.com
6
February 18, 2021
Couldn't find a debug adapter descriptor for debug type 'python'
I encountered the following issue while trying to debug Python code in coder-server. Below is my environment information. Web Browser: Chrome 86 Local OS: macOS Catalina Remote OS: Ubuntu LTS (in D... More on github.com
🌐 github.com
4
November 13, 2020
Debugging error "Couldn't find a debug adapter for debug type python"
Environment data VS Code version: 1.93.0 Jupyter Extension version (available under the Extensions sidebar): v2024.8.0 Python Extension version (available under the Extensions sidebar): v2024.14.0 ... More on github.com
🌐 github.com
3
September 9, 2024
VSCode can't debug jupyter notebook / python
Not sure where to post about this one, I suppose here on the EndeavourOS forum, as it ‘just works’ on other distros. Installed the Microsoft VSCode using visual-studio-code-bin from the AUR. When I attempt to debug a cell in a jupyter notebook, the debug sidebar opens, the little blue thing ... More on forum.endeavouros.com
🌐 forum.endeavouros.com
7
0
May 11, 2023
🌐
GitHub
github.com › microsoft › vscode-python-debugger › issues › 297
v2024.0.1 - VSCode Debug "Couldn't find a debug adapter descriptor for debug type 'debugpy'" · Issue #297 · microsoft/vscode-python-debugger
April 1, 2024 - Environment VSCode 1.87.2 Python Debugger v2024.2.0 Issue When running a debugpy debug session, the following error message shows: "Couldn't find a debug adapter descriptor for debug type 'debugpy' (extension might have failed to activat...
Author   RyanHCCSI
🌐
GitHub
github.com › microsoft › vscode-python › issues › 15445
Couldn't find a debug adapter descriptor for the debug type 'python' (extension might have failed to to activate) · Issue #15445 · microsoft/vscode-python
February 18, 2021 - Python version (& distribution if applicable, e.g. Anaconda): 3.7 conda 4.8.3 · Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda ... Getting the following error: Couldn't find a debug adapter descriptor for the debug type 'python' (extension might have failed to to activate)
Author   IdoPort1
🌐
Arch Linux Forums
bbs.archlinux.org › viewtopic.php
[SOLVED] VS Code, after upgrading: Python extension fails to load...? / Applications & Desktop Environments / Arch Linux Forums
January 3, 2023 - I've updated my "community/code"-package and I think something has changed in the past around 2 weeks, over the christmas holiday: Suddenly I cannot debug my python-scripts any-more... The error message is: "Couldn't find a debug adapter descriptor for debug type 'python' (extension might have ...
🌐
GitHub
github.com › coder › code-server › issues › 2301
Couldn't find a debug adapter descriptor for debug type 'python' · Issue #2301 · coder/code-server
November 13, 2020 - I encountered the following issue while trying to debug Python code in coder-server. Below is my environment information. Web Browser: Chrome 86 Local OS: macOS Catalina Remote OS: Ubuntu LTS (in D...
Author   dclong
🌐
GitHub
github.com › microsoft › vscode-jupyter › issues › 16024
Debugging error "Couldn't find a debug adapter for debug type python" · Issue #16024 · microsoft/vscode-jupyter
September 9, 2024 - Stepping over breakpoint that calls TF 1.x session.run throws "Couldn't find a debug adapter for debug type python" and the debugger remains running but cannot proceed further.
Author   edervishaj
Find elsewhere
🌐
Reddit
reddit.com › r/endeavouros › vscode can’t debug python jupyter notebook
r/EndeavourOS on Reddit: Vscode can’t debug Python Jupyter notebook
May 11, 2023 -

Installed Microsoft VSCode using visual-studio-code-bin from the AUR.

When I attempt to debug a cell in a jupyter notebook, the debug sidebar opens, the little blue thing goes back and forth (sometimes), the terminal echos the debug command (sometimes), the debug control strip opens with only restart and stop available, and that’s as far as it gets. If I click Restart, it says RUNNING under the call stack. Sometimes I get the error Couldn't find a debug adapter descriptor for debug type 'python'

I’ve uninstalled vscode, reinstalled, removed all but the essential extensions, rebooted, etc. to no avail. I’ve found .vscode folders here and there and removed them. I removed a .devcontainers folder from when I used code with a container on Universal Blue.

Tried some other long shots I found googling, such as code --enable-proposed-api ms-python.python & disown. I even tried the cli version of vscode.

Would appreciate any suggestions!

Version: 1.78.1 Commit: 6a995c4f4cc2ced6e3237749973982e751cb0bf9 Date: 2023-05-04T09:46:23.602Z Electron: 22.5.1 Chromium: 108.0.5359.215 Node.js: 16.17.1 V8: 10.8.168.25-electron.0 OS: Linux x64 6.1.27-1-lts Sandboxed: No 

OS: EndeavourOS Linux x86_64  Kernel: 6.1.27-1-lts  Uptime: 44 mins  Packages: 1326 (pacman)  Shell: bash 5.1.16  Resolution: 2560x2880, 3840x2160, 3840x2160  DE: GNOME 44.1  WM: Mutter  WM Theme: Adwaita  Theme: Adwaita [GTK2/3]  Icons: Qogir [GTK2/3]  Terminal: xfce4-terminal  Terminal Font: Source Code Pro 14  CPU: 13th Gen Intel i9-13900K (32) @ 5.500GHz  GPU: NVIDIA RTX A4500  Memory: 9211MiB / 128520MiB
🌐
Sada Tech
tech.sadaalomma.com › python › couldnt-find-a-debug-adapter-descriptor-for-the-debug-type-python
couldn't find a Debug Adapter Descriptor for the Debug Type Python - SADA Tech
February 14, 2024 - The “Couldn’t Find a Debug Adapter Descriptor for the Debug Type Python” error typically occurs when a developer tries to debug Python code using a specific debug adapter but the adapter descriptor cannot be found.
🌐
Raspberry Pi Forums
forums.raspberrypi.com › board index › software › other
How to fix "Couldn't find a debug adapter descriptor for debug type 'coreclr' (extension might have failed to activate)" - Raspberry Pi Forums
January 28, 2022 - Hey everyone, I was trying to run some code on my Raspberry Pi using Visual Studio Code and I got this error message while trying to run it. Can anyone help? "Couldn't find a debug adapter descriptor for debug type 'coreclr' (extension might have failed to activate)" Code I am trying to run:
🌐
Dynamicsuser
dynamicsuser.net › business central/nav › developers forum
Vs Code Error on Publishing -Couldn't find a debug adapter descriptor for debug type 'al' (extension might have failed to activate) - Developers Forum - Dynamics User Group
December 23, 2020 - Hi All, I’m using BC140.I have merged some objects from Production database to Test environment, after that I don’t see any problems but when i try to publish i’m getting this error, I didn’t change my usual Launch file I can create the package I have unpublished the existing extension ...
🌐
HatchJS
hatchjs.com › home › couldn’t find a debug adapter descriptor for debug type ‘python’: how to fix
Couldn't find a debug adapter descriptor for debug type 'python': How to fix
January 5, 2024 - ... The error message “couldn’t find a debug adapter descriptor for debug type ‘python'” means that your IDE or debugger is unable to find the correct Python debug adapter.
🌐
GitHub
github.com › espressif › vscode-esp-idf-extension › issues › 1026
couldn't find a debug adapter descriptor for debug type espidf (VSC-1167) · Issue #1026 · espressif/vscode-esp-idf-extension
August 16, 2023 - ---------------------------------------------------- Check extension requirements.txt ------------------------------------------------------ Check Extension Python packages Python requirements are satisfied. ---------------------------------------------------- Check ESP-IDF debug adapter requirements.txt ------------------------------------------ Check Debug AdapterPython packages Error ---------------------------------------------------- Visual Studio Code launch.json -------------------------------------------------------- { "version": "0.2.0", "configurations": [ { "type": "espidf", "name":
Author   5ami
🌐
GitHub
github.com › microsoft › vscode-jupyter › issues › 16721
Jupyter Python Debugger Unreliable · Issue #16721 · microsoft/vscode-jupyter
June 10, 2025 - Today I wanted to debug a part ... a debug adapter descriptor for debug type "Python Kernel Debug Adapter" (Extension might have failed to activate)."...
Author   RavaszEmber
🌐
ESP32 Forum
esp32.com › viewtopic.php
ESP debug adapter question - ESP32 Forum
So far I was trying to use the C/C++ extension in launch.json ("cppdbg"), but after many unsuccessful attempts I would like to try the Debug Adapter approach ("espidf"). I run the "Doctor Command" and got the output attached below. It tells me that the Debug Adapter python requirements are not satisfied and it also points me to a command which is supposed to fix it.
🌐
ESP32 Forum
esp32.com › viewtopic.php
Debugging with VS Code stopped working - ESP32 Forum
September 9, 2021 - Source: Espressif IDF (Extension)" If I retry, I get a different popup: "Couldn't find a debug adapter descriptor for debug type 'espidf' (extension might have failed to activate)" If I close VS Code, reopen and retry, the first popup above reappears consistently.
🌐
Reddit
reddit.com › r/vscode › debugging python jupyter notebook on endeavouros, an arch derivative
r/vscode on Reddit: Debugging Python Jupyter Notebook on EndeavourOS, an Arch derivative
May 11, 2023 - When I attempt to debug a cell in a jupyter notebook, the debug sidebar opens, the little blue thing goes back and forth (sometimes), the terminal echos the debug command (sometimes), the debug control strip opens with only restart and stop available, and that’s as far as it gets. If I click Restart, it says RUNNING under the call stack. Sometimes I get the error Couldn't find a debug adapter descriptor for debug type 'python'
🌐
PyPI
pypi.org › project › debugpy
debugpy · PyPI
An implementation of the Debug Adapter Protocol for Python
      » pip install debugpy
    
Published   Jan 29, 2026
Version   1.8.20