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

Which package to use for the dap-python plugin.

Type: package

Default: <derivation vimplugin-nvim-dap-python-2024-04-10>

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/rsz478bz8a2ibvxgs4jn1s57mzkmipaw-python3-3.11.10-env/bin/python3"

Declared by:

plugins.dap.extensions.dap-python.console

Debugpy console.

Plugin default: "integratedTerminal"

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

Default: null

Declared by:

plugins.dap.extensions.dap-python.includeConfigs

Add default configurations.

Plugin default: true

Type: null or boolean or raw lua code

Default: null

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.

Plugin default: null

Type: null or lua function string

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: