diff --git a/lua/setup/my_dap.lua b/lua/setup/my_dap.lua index 8a9fd20..43bcf4a 100644 --- a/lua/setup/my_dap.lua +++ b/lua/setup/my_dap.lua @@ -61,15 +61,12 @@ end dap.configurations.python = { { - -- The first three options are required by nvim-dap - type = 'python'; -- the type here established the link to the adapter definition: `dap.adapters.python` + type = 'python'; request = 'launch'; name = "Launch file with venv"; - - -- Options below are for debugpy, see https://github.com/microsoft/debugpy/wiki/Debug-configuration-settings for supported options - - program = "${file}"; -- This configuration will launch the current file if used. - pythonPath = getPythonEnv() + justMyCode = false; + program = "${file}"; + pythonPath = getPythonEnv(); }, }