Bug: Cannot attach to debugger for Apple ARM-Based Chip in VS Code #7828
Labels
blocked/more-info-needed
More info is needed from the requester. If no response in 14 days, it will become stale.
Description:
When attempting to attach a debugger to a locally running AWS Lambda function using the SAM CLI on an Apple ARM-based chip (e.g., M1/M2), the debugger keep hanging and never attached. My guess is potentially due to compatibility issues between the debugger, SAM CLI, and Docker on the ARM architecture.
Steps to reproduce:
I attempted to try both run the launch.json file before and after hitting the endpoint to see if it makes any different.
Observed result:
No breakpoint were hit. the debugger keep hanging and never actually attached.
Expected result:
It will actually hit the breakpoints.
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
sam --version
: 1.132The text was updated successfully, but these errors were encountered: