Closed epigramx closed 1 day ago
That error is output here: https://github.com/microsoft/debugpy/blob/f4ba976121ce38ee1c7c1f3174fcc520bccc7e19/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/windows/py_win_helpers.hpp
My guess is that this isn't going to work because the code that's doing the attach thinks this is a windows machine and the HMODULEs for the python dll aren't going to be found.
This appears to be a sideeffect of msys2 having its pseudo-UNIX like dir structure, and debugpy trying windows-like paths.
(and same warnings in VSCode)
There is no such warning if instead of the python installation/venv of msys2: a windows installation of python is used as the default interpreter in VScode.
The issue does not affect the actual operation of the python program debugged but I don't know if it affects the debugger (it's very spammy though).