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…
Author
Released
1/19/2018- 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
Duration
Views
Related Courses
-
Learning Java 8
with Peggy Fisher3h 9m Beginner -
Java 8 Essential Training
with David Gassner6h 7m Beginner -
Kotlin for Java Developers
with Troy Miles2h 32m Advanced
-
Introduction
-
Welcome53s
-
-
1. About AWS Lambda
-
Creating a free AWS account5m 52s
-
Pricing model2m 15s
-
-
2. Hello Lambda
-
A simple Lambda in Node.js3m 31s
-
Testing the Lambda3m 56s
-
✓ Solution: Say your name1m 42s
-
-
3. Hello Kotlin Lambda
-
IntelliJ, Maven, and Kotlin2m 29s
-
Maven packages5m 19s
-
AWS library15m 15s
-
4. Making Your Lambda Web Visible
-
Implementation6m 42s
-
✓ Solution: What time is it?2m 22s
-
5. Adding Data with MongoDB
-
Setting up MongoDB6m 25s
-
Reading records22m 32s
-
Writing records14m 22s
-
Deleting records5m 46s
-
6. Developing and Debugging Locally
-
Running Lambda locally2m 32s
-
Running MongoDB locally1m 36s
-
Debugging your Lambda1m 57s
-
-
Conclusion
-
Next steps49s
-
- 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.
CancelTake 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.
Share this video
Embed this video
Video: Debugging your Lambda