A guide on how to set up debugging of Poetry in Visual Studio Code, using Pipx and Pyenv.
Prerequisites My developer environment is Ubuntu 20.04 via WSL2 running on Windows 10, so that’s what this guide is written for. In order to get set for debugging, we need to install/setup a couple of tools:
Pyenv - Python version management Pipx - install and run Python applications in isolated environments Poetry - you should know what this is, if you are reading this ;) Pyenv I like to pick the Python interpreter version for a system-wide installations of tools, but also for individual projects using Pyenv....