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
492 stars 46 forks source link

Only use venv, .venv, env or .env if it's a directory #128

Closed mfussenegger closed 5 months ago

mfussenegger commented 5 months ago

Should solve https://github.com/mfussenegger/nvim-dap-python/issues/126

Maybe this is good enough - another option would be to double check the if the python path exists, but that would add some extra workload.