vscode: Python Debug Console: Shell integration failed to activate
Type: Bug
Behaviour
Expected vs. Actual
Python Debug Console shows “Shell integration failed to activate”
Steps to reproduce:
- Open a Python file
- Run command
>Python: Debug Python File
- Hover over terminal with mouse
Diagnostic data
- Python version (& distribution if applicable, e.g. Anaconda): 3.10.5
- Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Poetry
- Value of the
python.languageServer
setting: Default
Output for Python
in the Output
panel (View
→Output
, change the drop-down the upper-right of the Output
panel to Python
)
XXX
User Settings
Multiroot scenario, following user settings may not apply:
languageServer: "Pylance"
formatting
• provider: "black"
terminal
• activateEnvironment: false
Extension version: 2022.12.0 VS Code version: Code 1.70.1 (6d9b74a70ca9c7733b29f0456fd8195364076dda, 2022-08-10T06:08:33.642Z) OS version: Windows_NT x64 10.0.22000 Modes:
System Info
Item | Value |
---|---|
CPUs | Intel® Core™ i5-6600 CPU @ 3.30GHz (4 x 3312) |
GPU Status | 2d_canvas: enabled canvas_oop_rasterization: disabled_off direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_renderer: enabled_on video_decode: enabled video_encode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled |
Load (avg) | undefined |
Memory (System) | 15.95GB (4.93GB free) |
Process Argv | –crash-reporter-id 0042d240-2478-49b5-84e1-386a67589bc7 |
Screen Reader | no |
VM | 0% |
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vsdfh931cf:30280410
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30410667
wslgetstarted:30449410
cppdebug:30492333
pylanb8912:30545647
vsclangdf:30486550
c4g48928:30535728
d7fjc500:30543455
dsvsc012cf:30540253
azure-dev_surveyonecf:30545436
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 2
- Comments: 35 (15 by maintainers)
Commits related to this issue
- Hide failed to activate message when it didn't try Fixes #158218 — committed to microsoft/vscode by Tyriar 2 years ago
Same issue, but my debugger is cppdbg. Really annoying, I hope someone fixes it soon
This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!
in abt a week
@meganrogge @Tyriar what needs to be done in order to prevent the “Shell integration” from failing?