diff --git a/lua/setup/my_dap.lua b/lua/setup/my_dap.lua index 7236c4d..f8373d0 100644 --- a/lua/setup/my_dap.lua +++ b/lua/setup/my_dap.lua @@ -45,7 +45,7 @@ end local function getPythonEnv() local venv = os.getenv("VIRTUAL_ENV") if venv ~= nil then - return string.format("%s\\bin\\python.exe", venv) + return string.format("%s/%s", venv, getVenvSuffix()) end local cwd = vim.fn.getcwd()