From 3cb2ba1ad19812fab016543f40743b08be8486bc Mon Sep 17 00:00:00 2001 From: David Liu Date: Sat, 7 Nov 2026 14:19:50 -0500 Subject: [PATCH] Update launch.json debug configs to use debugpy Switch the Python debug configurations from the deprecated "python" debugger type to "debugpy", and have the Python debug server listen on 127.0.0.1 to match the default address used by debugpy.connect() in bundled/tool/_debug_server.py. Co-Authored-By: Claude Opus 5.5 --- .vscode/launch.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 9fe1407..a40ffb3 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -20,7 +20,7 @@ }, { "name": "Python Attach", - "type": "python", + "type": "debugpy", "request": "attach", "processId": "${command:pickProcess}", "justMyCode": false, @@ -32,7 +32,7 @@ }, { "name": "Python Config for test explorer (hidden)", - "type": "python", + "type": "debugpy", "request": "launch", "console": "integratedTerminal", "purpose": ["debug-test"], @@ -60,9 +60,9 @@ }, { "name": "Python debug server (hidden)", - "type": "python", + "type": "debugpy", "request": "attach", - "listen": { "host": "localhost", "port": 5678 }, + "listen": { "host": "127.0.0.1", "port": 5678 }, "justMyCode": true, "presentation": { "hidden": true,