cleanup python debug config
This commit is contained in:
parent
382871be03
commit
99e1139337
@ -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()
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user