From f7536e94aee3de4e4ad444541e39f9e52d584a9e Mon Sep 17 00:00:00 2001 From: Oliver Hartmann Date: Thu, 3 Nov 2022 20:27:14 +0100 Subject: [PATCH] set working dir --- lua/setup/my_dap.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/setup/my_dap.lua b/lua/setup/my_dap.lua index fafc94b..7bc6712 100644 --- a/lua/setup/my_dap.lua +++ b/lua/setup/my_dap.lua @@ -82,6 +82,7 @@ dap.configurations.python = { name = "Launch file with venv"; justMyCode = false; program = "${file}"; + cwd = vim.fn.getcwd(); pythonPath = getPythonEnv }, }