How can a developer use a debugger for AWS Lambda code that is deployed with AWS Serverless Application Model (AWS SAM)?
A . Download the Lambda code locally and use the AWS CLI to execute it
B . Use the Lambda console to connect the debugger
C . Use AWS SAM to invoke a function locally in debug mode
D . Connect a third-party-compatible integrated development environment (IDE) to the Lambda debugger endpoint
Answer: C
Explanation:
Reference: https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverlessÂsam-cli-using-debugging.html