cleanup python debug config

This commit is contained in:
Oliver Hartmann 2022-08-09 14:47:36 +02:00
parent 382871be03
commit 99e1139337

View File

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