v2022.4.0 regression: The Python path in your debug configuration is invalid. #18872
Labels
area-debugging
area-environments
Features relating to handling interpreter environments
author-verification-requested
Issues potentially verifiable by issue author
bug
Issue identified by VS Code Team member as probable bug
regression
Bug didn't exist in a previous release
Milestone
Issue Type: Bug
Behaviour
Expected vs. Actual
When launching the debugger, the error "The Python path in your debug configuration is invalid." pops up.
This is a regression in v2022.4.0; the same launch configuration worked correctly in v2022.2.1924087327.
Additionally, sometimes the file
.vscode\extensions\ms-python.python-2022.4.0\pythonFiles\get_output_via_markers.py
is opened in notepad++ (the default associated editor when double-clicking a .py file on my machine). It seems that whatever is trying to automatically run this script is instead just opening it. I'm not sure if this is related to the failure to launch the debugger.Steps to reproduce:
This is the launch configuration in question:
The file "rfgscript.exe" exists and is a custom application that loads python37.dll at run-time (via
LoadLibrary
). Note: python37.dll is not in the same directory as the custom .exe. The custom application accepts the same command-line arguments as the usual python.exe.Diagnostic data
python.languageServer
setting: DefaultUser Settings
Extension version: 2022.4.0
VS Code version: Code 1.66.0 (e18005f0f1b33c29e81d732535d8c0e47cafb0b5, 2022-03-30T05:50:14.623Z)
OS version: Windows_NT x64 10.0.19044
Restricted Mode: No
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
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
A/B Experiments
The text was updated successfully, but these errors were encountered: