Tehama interview question

How do you debug AWS lambda function?