mfussenegger / nvim-dap-python

An extension for nvim-dap, providing default configurations for python and methods to debug individual test methods or classes.
GNU General Public License v3.0
571 stars 51 forks source link

Detect virtualenv by probing for venv, .venv, env and .env #121

Closed mfussenegger closed 11 months ago

mfussenegger commented 11 months ago

Extends the automatic python path detection by probing for some common virtualenv locations.

Tries all - cwd/lcwd and lsp clients' root_dir as possible project roots and uses the first that exists.