question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fails to launch debug

See original GitHub issue

Environment data

  • VS Code version: Version: 1.53.2 (user setup), Commit: 622cb03f7e070a9670c94bae1a45d78d7181fbd4
  • Extension version (available under the Extensions sidebar): v2021.2.576481509
  • OS and version: Windows_NT x64 10.0.18363
  • Python version (& distribution if applicable, e.g. Anaconda): 3.7.4, I think (uses system python)
  • Type of virtual environment used (N/A | venv | virtualenv | conda | …): N/A
  • Relevant/affected Python packages and their versions: Everything
  • Relevant/affected Python-related VS Code extensions and their versions: N/A
  • Value of the python.languageServer setting: ? don’t know how to check.

[NOTE: If you suspect that your issue is related to the Microsoft Python Language Server (python.languageServer: 'Microsoft'), please download our new language server Pylance from the VS Code marketplace to see if that fixes your issue]

Expected behaviour

Can run and debug python programs. This has been working for several months.

Actual behaviour

Fails to initialise plugin, displays this error:

Couldn’t find a debug adapter descriptor for debug type ‘python’ (extension might have failed to activate)

Steps to reproduce:

[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]

Make absolutely any python file, run it

Print("hello world")

  1. XXX

Logs

No errors found other than message that pops up.

Output for Python in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python)

XXX

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:12 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
karthiknadigcommented, Feb 23, 2021

@LizardBlizzard Thanks for confirming that it is working. Sorry I missed that part.

0reactions
LizardBlizzardcommented, Feb 23, 2021

@LizardBlizzard it looks like the ms-toolsai.jupyter extension is not installed correctly. Try installing it again. Python extension is failing because it needs the jupyter extension to work.

/cc @rchiodo Another instance where Jupyter is not installed correctly and missing files.

Hi, as I said, it is working now. What I did was to reinstall all three extensions and restart my computer. Also, the Jupyter extension was installed when the problem occurred as you can see from the screenshot.

Thanks for the help!

Read more comments on GitHub >

github_iconTop Results From Across the Web

The Visual Studio 2022 Error "Failed to launch debug adapter ...
I was able to resolve this issue by selecting a newer version of python in the debug properties. To do that ...
Read more >
"failed to launch debug adapter" when trying to run .net core ...
1. Run a new .NET Core web app on debug (not IIS option) · 2. Open the website on a second tab in...
Read more >
Microsoft Visual Studio Failed to launch debug adapter ...
Describe the bug I am trying to upgrade my .net core 3.1 based solution to .net 5.0. I am seeing this error with:...
Read more >
Failed to launch debug adapter - Chanmingman's Blog
This blog article shows you one of the ways to resolve the error “Failed to launch debug adapter”. This is a known issue...
Read more >
Error: Unable to Start Debugging on the Web Server
Make sure the server's web.config includes debug=true in the compilation element. Make sure that your Web Application folder has the right ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found