From the course: Google Cloud Platform (GCP) Essential Training for Developers
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Debugging live traffic using Cloud Debug - Google Cloud Tutorial
From the course: Google Cloud Platform (GCP) Essential Training for Developers
Debugging live traffic using Cloud Debug
- [Instructor] Google Cloud Debugger is one of the coolest tools in Google Cloud. It's a service that lets us take debugging snapshots and inspect the state of our application variables even if it's serving live traffic. This is really useful when trying to debug issues that are not easily reproduced locally. Okay, let's try it out. Over here, I have an application that is deployed to App Engine and is serving traffic. For this demo, it just says hello, but behind the scenes, it does something more than just print out hello. Let's open Cloud Debugger in the Google Cloud console and check out what our code is actually doing. Now for this demo, we are using App Engine, but Cloud Debugger works with other GCP environments as well, like Compute Engine, GKE, Cloud Run, and even VMs running elsewhere. Once we're in the Cloud Debugger page, the first thing it's going to ask us is to load the source code of our application.…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.