Fails to launch debug
See original GitHub issueEnvironment 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")
- XXX
Logs
No errors found other than message that pops up.
Output for Python
in the Output
panel (View
→Output
, change the drop-down the upper-right of the Output
panel to Python
)
XXX
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:12 (4 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@LizardBlizzard Thanks for confirming that it is working. Sorry I missed that part.
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!