Debugger experiences FileNotFoundError internal error #668
Labels
info-needed
Issue requires more information from poster
triage-needed
Needs assignment to the proper sub-team
Type: Bug
Behavior
When I debug a test, instead of breaking at a known python error, it finishes the test and displays an internal error in the Debug Console:

Expected behavior:
It should hit a breakpoint at Project_Hype-Berry/source/hab_task.py:197 due to a KeyError, as I've seen when I run
pytest --pdb
in a terminal:Steps to reproduce:
Steps to reproduce:
git checkout vscode-bug
code .
in the reposhould be observed
Diagnostic data
launch.json
configurationOutput for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)Output for
Python Debugger
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython Debugger
)Extension version: 2025.4.1
VS Code version: Code 1.98.2 (ddc367ed5c8936efe395cffeec279b04ffd7db78, 2025-03-12T13:32:45.399Z)
OS version: Linux x64 5.15.0-134-generic
Modes:
canvas_oop_rasterization: enabled_on
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_graphite: disabled_off
video_decode: enabled
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
webnn: disabled_off
The text was updated successfully, but these errors were encountered: