Bug: Debugging Python Lambda with VScode's debugger doesn't work with latest AWS Lambda Python docker image #6405
Labels
stage/needs-triage
Automatically applied to new issues and PRs, indicating they haven't been looked at.
Description:
Debugging a lambda function locally with sam on VScode fails.
Steps to reproduce:
Run the debugger locally on VScode on any lambda function. I use the following
launch.json
This happens only with the latest
public.ecr.aws/lambda/python
image. Forcing previous version of the images doesn't yield this issueObserved result:
The debugger of course fails to attach to the app.
Expected result:
I should be able to run the lambda function with the debugger.
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
sam --version
: SAM CLI, version 1.103.0I think Python is expecting
libffi.so.6
but I can only seelibffi.so.8
The text was updated successfully, but these errors were encountered: