Tag mason
1 bookmark has this tag.
1 bookmark has this tag.
TIL: if I want to debug [#python](https://gts.cupcakerob.nl/tags/python) :python: in [#neovim](https://gts.cupcakerob.nl/tags/neovim) :nvim:
your imported packages need to be in the same python env that debugpy is.
Now in [#LazyVim](https://gts.cupcakerob.nl/tags/lazyvim) , [#mason](https://gts.cupcakerob.nl/tags/mason) installs debugpy in it's own venv and the debug adapter can't find the other packages
so: install debugpy in your venv and run
:lua require('dap-python').setup('./venv/bin/python')
or use vscode/pycharm or something if you have a life ;-)