Cloud Functions local debugging

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.

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

How to send cloud events to Cloud Functions →
Blog post →
Typescript code →

Check out more episodes of Serverless Expeditions →
Subscribe to Google Cloud Tech →


Duration: 00:10:17
Publisher: Google Cloud
You can watch this video also at the source.