plugins.dap.extensions.dap-python.enable

Whether to enable dap-python.

Type: boolean

Default: false

Example: true

Declared by:

plugins.dap.extensions.dap-python.package

The dap-python package to use.

Type: package

Default: pkgs.vimPlugins.nvim-dap-python

Declared by:

plugins.dap.extensions.dap-python.adapterPythonPath

Path to the python interpreter. Path must be absolute or in $PATH and needs to have the debugpy package installed.

Type: string

Default: "/nix/store/h9m2ifi1janygx7wfzkbnwkg6f3n68qr-python3-3.12.7-env/bin/python3"

Declared by:

plugins.dap.extensions.dap-python.console

Debugpy console.

Type: null or one of “integratedTerminal”, “internalConsole”, “externalTerminal” or raw lua code

Default: null

Plugin default: "integratedTerminal"

Declared by:

plugins.dap.extensions.dap-python.includeConfigs

Add default configurations.

Type: null or boolean or raw lua code

Default: null

Plugin default: true

Declared by:

plugins.dap.extensions.dap-python.resolvePython

Function to resolve path to python to use for program or test execution. By default the VIRTUAL_ENV and CONDA_PREFIX environment variables are used if present.

Type: null or lua function string

Default: null

Plugin default: null

Declared by:

plugins.dap.extensions.dap-python.testRunner

The name of test runner to use by default. The default value is dynamic and depends on pytest.ini or manage.py markers. If neither is found “unittest” is used.

Type: null or string or raw lua code

Default: null

Declared by:

plugins.dap.extensions.dap-python.testRunners

Set to register test runners. Built-in are test runners for unittest, pytest and django. The key is the test runner name, the value a function to generate the module name to run and its arguments. See |dap-python.TestRunner|.

Type: null or (attribute set of lua function string)

Default: null

Declared by: