Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Google Cloud Platform Cookbook

You're reading from  Google Cloud Platform Cookbook

Product type Book
Published in Apr 2018
Publisher Packt
ISBN-13 9781788291996
Pages 280 pages
Edition 1st Edition
Languages
Author (1):
Legorie Rajan PS Legorie Rajan PS
Profile icon Legorie Rajan PS
Toc

Table of Contents (14) Chapters close

Title Page
Dedication
Packt Upsell
Contributors
Preface
1. Compute 2. Storage and Databases 3. Networking 4. Security 5. Machine Learning and Big Data 6. Management Tools 7. Best Practices 1. Other Books You May Enjoy Index

Viewing application state using Stackdriver Debugger


Stackdriver Debugger is a feature that lets us understand the state of the application in order to help the developer debug the application in production and in its running state. The debugger can be set up by adding additional code to the program, or it is enabled by default in some computing platforms such as the App Engine. Once the debugger is setup, the state of application variables can be viewed as debug snapshots and new logging steps can be enabled by injecting logging statements using debug logpoints.

Getting ready

The following are the initial setup verifications and network creation before the recipe can be executed:

  1. Create or select a GCP Project
  2. Enable billing and enable the default APIs (some APIs such as BigQuery, storage, monitoring and few others are enabled automatically)
  3. Enable the Stackdriver Error Debugger API
  4. Verify if the Cloud Source Repositories API is enabled

How to do it...

In this recipe, we'll run a Flask application...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime