Replies: 7 comments 1 reply
-
I believe the reason it's bundled is so we can ship debugpy with Visual Studio and VS code without having the user install any packages. @karthiknadig or @int19h may know more. Transferring this to a discussion. |
Beta Was this translation helpful? Give feedback.
-
I see that |
Beta Was this translation helpful? Give feedback.
-
Lastly there is some deviation from pydevd, at least back when DAP (debug adapter protocol) support was not yet fully in |
Beta Was this translation helpful? Give feedback.
-
You can still use older unvendored |
Beta Was this translation helpful? Give feedback.
-
@kloczek It does not address all the problem I mentioned above. We cannot sign a binary if it wasn't built using a trusted c-runtime. Additionally, there are customizations to vendored pydevd that don't exist outside of the vendored code (from what I remember @int19h might know the state better). Lastly, |
Beta Was this translation helpful? Give feedback.
-
So it is not vendorisation but forking .. so why not clean that code? 🤔 You cannot as well sign any python script. |
Beta Was this translation helpful? Give feedback.
-
I believe it was all upstreamed eventually. However, debugpy still reaches out into what is technically pydevd internals in some places (attach to process, and I think some stuff around settrace), so depending on arbitrary new versions of pydevd is still potentially dangerous. However, it was not supposed to be a fork. It is supposed to be updated regularly from upstream. |
Beta Was this translation helpful? Give feedback.
-
Looks like
pydevd
is well maintained and has regilar new releases.Is it any reason why this module is bundled in
debugpy
tree?Beta Was this translation helpful? Give feedback.
All reactions