You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to debug Python program when using option "Python Debugger: Debug using launch.json" there is an execution error (see screenshot)
Steps to reproduce:
Python 3.8 installed for all users in Windows (C:\Program Files\Python38\python.exe).
When debugging using "Python Debugger: Debug Python file" option, the debugger starts perfectly and without errors. Executing string is:
c:; cd 'c:\Temp\FR'; & 'c:\Program Files\Python38\python.exe' 'c:\Users\mmiller.vscode\extensions\ms-python.debugpy-2024.2.0-win32-x64\bundled\libs\debugpy\adapter/../..\debugpy\launcher64\bundled\libs\debugpy\adapter/../..\debugpy\launcher' '61954' '--' 'C:\Temp\FR\CallFlexResponse.py'
When trying to debug using "Python Debugger: Debug using launch.json" there are execution errors because strings to execute are not surrounded by single quotes, and file path contains spaces. Executing string is:
Type: Bug
Behaviour
Expected vs. Actual
Trying to debug Python program when using option "Python Debugger: Debug using launch.json" there is an execution error (see screenshot)
Steps to reproduce:
c:; cd 'c:\Temp\FR'; & 'c:\Program Files\Python38\python.exe' 'c:\Users\mmiller.vscode\extensions\ms-python.debugpy-2024.2.0-win32-x64\bundled\libs\debugpy\adapter/../..\debugpy\launcher64\bundled\libs\debugpy\adapter/../..\debugpy\launcher' '61954' '--' 'C:\Temp\FR\CallFlexResponse.py'
c:; cd 'c:\Temp\FR'; c:\Program Files\Python38\python.exe c:\Users\mmiller.vscode\extensions\ms-python.debugpy-2024.2.0-win32-x64\bundled\libs\debugpy\adapter/../..\debugpy\launcher 6198ndled\libs\debugpy\adapter/../..\debugpy\launcher 61984 -- C:\Temp\FR.vscode\launch.json myarg
Diagnostic data
python.languageServer
setting: DefaultOutput for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)User Settings
Extension version: 2024.2.0
VS Code version: Code 1.87.2 (863d2581ecda6849923a2118d93a088b0745d9d6, 2024-03-08T15:20:17.278Z)
OS version: Windows_NT x64 10.0.19045
Modes:
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: disabled_off
opengl: enabled_on
rasterization: unavailable_off
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
A/B Experiments
The text was updated successfully, but these errors were encountered: