From 99e11393371c3dc6e003e8e3c89991958ee807ae Mon Sep 17 00:00:00 2001 From: Oliver Hartmann Date: Tue, 9 Aug 2022 14:47:36 +0200 Subject: [PATCH] cleanup python debug config --- lua/setup/my_dap.lua | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) 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(); }, }