From 5d7503189a22f6230484331f501209ce9f6fe2e6 Mon Sep 17 00:00:00 2001 From: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com> Date: Wed, 25 Jun 2025 00:40:33 +0200 Subject: [PATCH] dap: Ensure cwd is present in runInTerminal request --- src/debugpy/adapter/launchers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/debugpy/adapter/launchers.py b/src/debugpy/adapter/launchers.py index 62f94881..37db3be3 100644 --- a/src/debugpy/adapter/launchers.py +++ b/src/debugpy/adapter/launchers.py @@ -148,6 +148,7 @@ def on_launcher_connected(sock): "title": console_title, "args": cmdline, "env": env, + "cwd": "" } if cwd is not None: request_args["cwd"] = cwd