Skip to content

Couldn't find a debug adapter descriptor for debug type 'python' #2301

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
dclong opened this issue Nov 13, 2020 · 4 comments
Closed

Couldn't find a debug adapter descriptor for debug type 'python' #2301

dclong opened this issue Nov 13, 2020 · 4 comments

Comments

@dclong
Copy link

dclong commented Nov 13, 2020

I encountered the following issue while trying to debug Python code in coder-server.
image

Below is my environment information.

  • Web Browser: Chrome 86
  • Local OS: macOS Catalina
  • Remote OS: Ubuntu LTS (in Docker)
  • Remote Architecture:
  • code-server --version: 3.6.2

And my launch.json

{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Python: Current File",
            "type": "python",
            "request": "launch",
            "program": "${file}",
            "console": "integratedTerminal"
        }
    ]
}
@code-asher
Copy link
Member

code-asher commented Nov 16, 2020 via email

@code-asher
Copy link
Member

I think this is probably the same issue causing #2341 so I'll close this in order to track there. Please let me know if it doesn't look like the same issue though!

@rajatongit
Copy link

Hi, the issue #2341 was closed due to inactivity. So, I am posting here what worked for me, although quite simple:
Facing same problem as @dclong , I went to extensions, and there was a sneaky mention that the "Python (Intellisense or Pylance)" failed to load and needed a 'reload'. After reloading, the error got resolved. :)

@mkssri
Copy link

mkssri commented Feb 10, 2022

thanks @rajatongit - on following your suggestion it fixed the issue :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants