In this video, learn how to run your Lambda function locally.
- [Instructor] Now that we have our lambda running locally,…we can debug it like we would any kotlin app.…Setting break points is a helpful way to find bugs,…and it also makes it possible to understand how the…code works better.…So let's go back into our lambda handler,…let's go down to "Get Specific Vehicle"…and what we're going to do is just set a break point…right here, so we can get a better idea of how this…method works.…And now we will say "Run" only this time we're going to run…in "Debug" mode, and we're going to run the Lambda handler,…and it will spin up and do its thing.…
We go back to the browser, we're going to say "Cars"…and let us get the car that we're looking at, right…here.…Where is that ID?…There it is, three eight seven six six.…And so we say "Cars" forward slash 3 8 7 6 6,…hit the "Get" and here we are in the actual code.…We can see that the parsed ID is indeed a number,…that ID is a string, right here, you can see it's…3 8 7 6 6. And if we step through this,…we can see it get the collection, now we're at…
- Creating an AWS Lambda account
- Creating a simple Lambda function in Node.js
- Testing the Lambda function
- Creating Kotlin apps with Spark, IntelliJ IDEA, Maven, and the AWS library
- Binding the API gateway to your Lambda function
- Adding data with MongoDB
- Developing and debugging your Lambda function locally
Skill Level Intermediate
1. About AWS Lambda
2. Hello Lambda
3. Hello Kotlin Lambda
4. Making Your Lambda Web Visible
5. Adding Data with MongoDB
6. Developing and Debugging Locally
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.