diff --git a/lua/setup/my_dap.lua b/lua/setup/my_dap.lua index 470ef5c..19a3df8 100644 --- a/lua/setup/my_dap.lua +++ b/lua/setup/my_dap.lua @@ -29,6 +29,7 @@ local function loadConfigs () -- Make sure we use the correct python env even for the configs from launch.json for nr,config in pairs(dap.configurations.python) do config.pythonPath = getPythonEnv() + config.cwd = vim.fn.getcwd() end require'telescope'.extensions.dap.configurations{} end