nvim-dap-python
nvim-dap-python copied to clipboard
How could I set up a configuration to debug a package?
I'm developing a Python package and would like to be able to run debugpy with this package, and debug it from within nvim, but I don't know how to do that.
I've got the package installed in a virtual environment (in editable mode) and can run it with python -m package_name. In PyCharm, I can set breakpoints in a file, run the package_name module, and debug from the breakpoints.
I don't know how to use debugpy, but I assume this is possible, and would love an example configuration for this behaviour. Thanks :)