Skip to content

Support runtime provided.al2 for debugging #3718

Open
@L4B0MB4

Description

@L4B0MB4

When developing a go lambda including a external extension one has to switch to provided.al2. If you want to debug the lambda with

sam local start-api --host 0.0.0.0 -d 5858 --debugger-path dlv --debug-args "-delveAPI=2"

it only works until it builds the docker image.
image

How are we not supposed to debug this ?

Also (as a side note) I could have sworn it worked at one point. But after multiple colleagues had this problem I found myself unable to reproduce a working debugger as well - so it might be my dementia.

Any plans on supporting this in the (near) future ?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions