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 = {
{
-- 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();
},
}