aws / aws/aws-sam-cli

Support runtime provided.al2 for debugging

Open
#3,718 13 comments 14 reactions 0 assignees View on GitHub
maintainer/need-followup type/feature
Dominant language
Python
Stars
6.7k
Forks
1.2k
Avg merge
1d 10h
Merged PRs (30d)
52

Description

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](https://user-images.githubusercontent.com/37332872/157242662-d5e113ea-06ed-4591-9759-4195f5440543.png)

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 ?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.