nvim-dap-python by default looks for VIRTUAL_ENV and CONDA_PREFIX environment variables, resolve_python only take effect in the absence of VIRTUAL_ENV and CONDA_PREFIX even when resolve_python is configured which is not intuitive enough.
This pr allows users to prioritize using configurations specified by resolve_python and fallback to use the default environment when configuration errors occur.
nvim-dap-python by default looks for VIRTUAL_ENV and CONDA_PREFIX environment variables,
resolve_python
only take effect in the absence of VIRTUAL_ENV and CONDA_PREFIX even whenresolve_python
is configured which is not intuitive enough.This pr allows users to prioritize using configurations specified by
resolve_python
and fallback to use the default environment when configuration errors occur.