Skip to content

I press F5 to debug: Debugging never starts and no errors are thrown #755

@osquera

Description

@osquera

Type: Bug

Behaviour

Debugging does not start when i press F5 or select start debugging, I have correctly configured launch.json and several different configurations and none work.

Steps to reproduce:

  1. I try to start the debugging. Nothing happens, no errors thrown.

Diagnostic data

launch.json configuration

        {
            "name": "Python: Main file",
            "type": "debugpy",
            "request": "launch",
            "program": "${workspaceFolder}/src/main.py",
            "cwd": "${workspaceFolder}/src",
            "console": "integratedTerminal",

        },

Output for Python in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python)


2025-07-18 14:15:59.690 [debug] Extension ms-python.debugpy accessed resolveEnvironment with args: {"id":"C:\\_DEFAULT\\_REPOSITORIES\\SERVICE-LOADS\\.VENV\\SCRIPTS\\PYTHON.EXE","path":"C:\\_Default\\_repositories\\service-loads\\.venv\\Scripts\\python.exe"}
2025-07-18 14:15:59.690 [debug] Extension ms-python.debugpy accessed getActiveEnvironmentPath with args: undefined
2025-07-18 14:15:59.749 [debug] Extension ms-python.debugpy accessed resolveEnvironment with args: "c:\\_Default\\_repositories\\service-loads\\.venv\\Scripts\\python"

Output for Python Debugger in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python Debugger)

2025-07-18 14:15:59.694 [info] Resolving launch configuration with substituted variables
2025-07-18 14:15:59.711 [info] DAP Server launched with command: C:\_Default\_repositories\service-loads\.venv\Scripts\python c:\Users\GJOEIUQ\.vscode\extensions\ms-python.debugpy-2025.10.0-win32-x64\bundled\libs\debugpy\adapter

Extension version: 2025.10.0
VS Code version: Code 1.102.1 (7adae6a56e34cb64d08899664b814cf620465925, 2025-07-15T16:41:17.147Z)
OS version: Windows_NT x64 10.0.22631
Modes:

  • Python version (& distribution if applicable, e.g. Anaconda): 3.10.11
  • Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): VirtualEnvironment
System Info
Item Value
CPUs 11th Gen Intel(R) Core(TM) i7-11850H @ 2.50GHz (8 x 2496)
GPU Status 2d_canvas: enabled
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: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 31.78GB (15.45GB free)
Process Argv --crash-reporter-id ad0688c8-d829-4312-9d4b-b6d0a0db9c36
Screen Reader no
VM 0%
A/B Experiments
vsliv368cf:30146710
binariesv615:30325510
962ge761:31349326
h48ei257:31000450
nativeloc1:31344060
5fd0e150:31155592
dwcopilot:31170013
471b6256:31263136
6074i472:31201624
dwoutputs:31242946
9064b325:31222308
copilot_t_ci:31333650
e5gg6876:31282496
pythoneinst12:31285622
c7cif404:31314491
pythonpulldiag:31343502
996jf627:31283433
pythonrdcb7:31342333
usemplatestapi:31297334
0aa6g176:31307128
747dc170:31275177
6518g693:31334701
aj953862:31281341
generatesymbolt:31295002
convertfstringf:31295003
9d2cg352:31346308
usemarketplace:31343026
nesew2to5:31336538
agentclaude:31335815
82j33506:31327384
nes-diff-11:31337487
992g2967-color:31348502
replacestringexc:31350595
nes-set-on:31350020
onetestforazureexpcf:31335614
6abeh943:31336334
yijiwantestdri0626-t:31336930
0927b901:31350571
ji9b5146:31348712
0cj2b977:31350606

Metadata

Metadata

Assignees

Labels

triage-neededNeeds assignment to the proper sub-team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions