dap-python

URL: https://github.com/mfussenegger/nvim-dap-python/

Maintainers: Austin Horstman

plugins.dap-python.enable

Whether to enable dap-python.

Type: boolean

Default: false

Example: true

Declared by:

plugins.dap-python.package

The dap-python package to use.

Type: package

Default: pkgs.vimPlugins.nvim-dap-python

Declared by:

plugins.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:

lib.getExe (pkgs.python3.withPackages (ps: [ ps.debugpy ]))

Declared by:

plugins.dap-python.autoLoad

Whether to automatically load dap-python when neovim starts.

Type: boolean

Default: false when lazy-loading is enabled.

Example: false

Declared by:

plugins.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-python.testRunner

The name of test runner to use by default.

Type: null or lua function string

Default: null

Plugin default: The default value is dynamic and depends on pytest.ini or manage.py markers. If neither are found, "unittest" is used.

Declared by:

plugins.dap-python.testRunners

Set to register test runners.

Built-in test runners include: 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: