Debugging code isn’t just needed some of the time. It is, almost always, a necessity. Google Cloud Debugger is an excellent tool for working with code deployed to GCP, whether as an App Engine website or a GKE application. In this hands-on lab, you’ll debug your team’s latest release by using the various options available to you in the Cloud Debugger tool chest.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Deploy an App Engine Application
Retrieve the working files, deploy, and test the application.
- Examine Relevant Stack Trace
Set up Cloud Debugger to be used and take a snapshot of the pertinent code placement.
- Examine Relevant Data in Logs
Set up a logpoint noting the current characters output.
- Use Additional Debugger Strategies
Execute a conditional snapshot and one that displays character array values in an expression.
- Fix and Test Application
Adjust code as necessary, redeploy, and test the app.