Skip to content

Conversation

@osiewicz
Copy link
Contributor

@osiewicz osiewicz commented Jul 18, 2025

@cole-miller found a root cause of our struggles with attach scenarios; we did not fetch .so files necessary for attaching to work,
as we were downloading DebugPy source tarballs from GitHub.

This PR does away with it by setting up a virtualenv instead that has debugpy installed.

Closes #34660
Closes #34575

Release Notes:

  • debugger: Fixed attaching with DebugPy. DebugPy is now installed automatically from pip (instead of GitHub), unless it is present in active virtual environment. Additionally this should resolve any startup issues with missing .so on Linux.

@cole-miller found a root cause of our struggles with attach scenarios; we did not fetch .so files necessary for attaching to work,
as we were downloading DebugPy source tarballs from GitHub.

This PR does away with it by setting up a virtualenv instead that has debugpy installed.
@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Jul 18, 2025
@osiewicz osiewicz force-pushed the install-debugpy-from-pip-not-from-github branch from 08e02f3 to 7336bbb Compare July 18, 2025 13:21
@osiewicz osiewicz enabled auto-merge (squash) July 18, 2025 13:38
@osiewicz osiewicz merged commit 2ac99e7 into main Jul 18, 2025
38 of 40 checks passed
@osiewicz osiewicz deleted the install-debugpy-from-pip-not-from-github branch July 18, 2025 14:28
orual pushed a commit to orual/zed that referenced this pull request Aug 23, 2025
@cole-miller found a root cause of our struggles with attach scenarios;
we did not fetch .so files necessary for attaching to work,
as we were downloading DebugPy source tarballs from GitHub.

This PR does away with it by setting up a virtualenv instead that has
debugpy installed.

Closes zed-industries#34660
Closes zed-industries#34575

Release Notes:

- debugger: Fixed attaching with DebugPy. DebugPy is now installed
automatically from pip (instead of GitHub), unless it is present in
active virtual environment. Additionally this should resolve any startup
issues with missing .so on Linux.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Debugger: Failed to attach debugpy to process Debugger: debugpy expects a missing .so file on Ubuntu

2 participants