microsoft / vscode-python-debugger

Python debugger (debugpy) extension for VS Code.
https://marketplace.visualstudio.com/items?itemName=ms-python.debugpy
MIT License
41 stars 17 forks source link

Unable to Use Python Debugging Functionality in an ARM64 Docker Environment with Code-Server #230

Closed topcss closed 3 months ago

topcss commented 4 months ago

Hello there,

I'm currently experiencing an issue with the Python debugging functionality in code-server running in a Docker environment on an ARM64 architecture.

Environment Details:

Issue Description: When I try to use the Python debugging functionality in code-server via a web browser interface, it doesn't work as expected.

Steps to Reproduce: image

Expected Behavior: I expected to be able to use the Python debugging functionality as in a typical VS Code environment.

Actual Behavior: Python debugging functionality does not work.

I've attached screenshots to help illustrate the issue. Any assistance on this matter would be greatly appreciated. I'm eager to contribute in any way I can to help resolve this issue.

Thank you for your time and consideration.

Best Regards, Jack

LouisStAmour commented 4 months ago

Likewise I'm trying to use alpine dev containers with this extension on Apple silicon and I can't.

When installing this extension, or extensions that rely on it like "Ansible", I get an error like the following:

Incompatible: Can't install 'ms-python.debugpy' extension because it is not compatible with the current version of Visual Studio Code (version 1.86.2).

Clicking install manually leads me to the marketplace which says:

Version 2024.0.0 for extension ms-python.debugpy has no support for targetPlatform alpine-arm64.

I could probably build a version of the extension manually but it would be nice to see official support. :)

paulacamargo25 commented 4 months ago

Thanks for the issue support, we do not handle the installation process. Could you please create an issue in vscode-remote-release.

I can check the issue with the targetPlatform. Let me investigate in order to solve it.

rzhao271 commented 3 months ago

Hi @paulacamargo25, what are some verification steps for this issue?

@topcss let us know if the issue is resolved for you now. You may have to use the pre-release extension along with the Insiders version of Code or insiders.vscode.dev to see it. Thanks!

rzhao271 commented 3 months ago

I successfully debugged a Python file on an Ubuntu arm64 container using the Python Debugger and Dev Container extensions.

sevetseh28 commented 2 months ago

I'm still having this issue. Is this resolved? I'm using OpenVSCode Server and the latest release of the debugpy extension (3 weeks ago).

sevetseh28 commented 2 months ago
image
sevetseh28 commented 2 months ago

Hey, adding another comment to see if I might get any updates on this ? thank you!