{"repo":"mfussenegger/nvim-dap-python","free":true,"listed":false,"github":"https://github.com/mfussenegger/nvim-dap-python","clone":"git clone https://github.com/mfussenegger/nvim-dap-python.git","description":"Mirror of https://codeberg.org/mfussenegger/nvim-dap-python","language":"Lua","stars":711,"topics":["neovim","nvim-dap","neovim-plugin","debugging","debugger","debug-adapter-protocol"],"license":"GPL-3.0","category":"dev-tools","readme_excerpt":"nvim-dap-python An extension for [nvim-dap][1] providing default configurations for python and methods to debug individual test methods or classes. Installation - Requires Neovim = 0.5 - Requires [nvim-dap][1] - Requires [debugpy][3] - Install like any other neovim plugin: - If using [vim-plug][6]: Plug 'mfussenegger/nvim-dap-python' - If using [packer.nvim][7]: use 'mfussenegger/nvim-dap-python' If you want to use the test runner functionality, it additionally requires a tree sitter parser for Python. Debugpy Options to install [debugpy][3]: 1. Via a system package manager. For example: 2. Via pip in a venv : Note that the virutalenv used for the debugpy can be independent from any virtualenv you're using in your projects. nvim-dap-python tries to detect your project venv and should recognize any dependencies your project has. See Python dependencies and virtualenv 3. Implicit via [uv][uv] See Usage: You need to use require(\"dap-python\").setup(\"uv\") Tree-sitter To install the python tree-sitter parser you can either: - Use :TSInstall python from [nvim-treesitter][4] - Compile the parser from [tree-sitter-python][5] and copy it into .config/nvim/parser/ : - git clone https://github.com/tree-sitter/tree-sitter-python.git - cd tree-sitter-python - cc -O2 -o /.config/nvim/parser/python}.so -I./src src/parser.c src/scanner.cc -shared -Os -lstdc++ -fPIC Usage 1. Call setup in your init.lua to register the adapter and configurations. If installed in a virtual environment: If instal","default_branch":null,"files":null,"tree":[],"storefront":"/r/mfussenegger","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mfussenegger/nvim-dap-python/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}