Google Cloud Platform1.18 млн
Опубликовано 21 сентября 2023, 17:10
Debugging is often easier on a local machine than in the cloud. Follow along and learn how to debug Google Cloud Functions on your laptop, with Christoph Stanger and Martin Omander as your guides. See how to run a small part of Google Cloud on your machine, simulate cloud events, access a database, impersonate service accounts, and enable hot reload.
Chapters:
0:00 - Intro
0:54 - Running part of Google Cloud on your laptop
2:51 - Executing the function locally
4:12 - Impersonating a service account
6:12 - Calling the Vision API
7:12 - Adding a breakpoint
8:28 - Hot reload
8:46 - Blog post with more details
9:43 - Wrap-up
Links:
How to send cloud events to Cloud Functions → goo.gle/461SPx6
Blog post → goo.gle/3PthTWC
Typescript code → goo.gle/3t6mua0
Check out more episodes of Serverless Expeditions → goo.gle/ServerlessExpeditions
Subscribe to Google Cloud Tech → goo.gle/GoogleCloudTech
#ServerlessExpeditions
Chapters:
0:00 - Intro
0:54 - Running part of Google Cloud on your laptop
2:51 - Executing the function locally
4:12 - Impersonating a service account
6:12 - Calling the Vision API
7:12 - Adding a breakpoint
8:28 - Hot reload
8:46 - Blog post with more details
9:43 - Wrap-up
Links:
How to send cloud events to Cloud Functions → goo.gle/461SPx6
Blog post → goo.gle/3PthTWC
Typescript code → goo.gle/3t6mua0
Check out more episodes of Serverless Expeditions → goo.gle/ServerlessExpeditions
Subscribe to Google Cloud Tech → goo.gle/GoogleCloudTech
#ServerlessExpeditions
Свежие видео
Случайные видео