Back in November, at Google Cloud Platform Live, we released the beta of Google Cloud Debugger with support for Managed VM based projects. Today, we’re expanding support for Google Compute Engine based projects. Now you can simply set a snapshot on a line of code and Cloud Debugger will return local variables and a full stack trace from the next request that executes that line. Say goodbye to littering your code with logging statements.
Setting up Cloud Debugger on Compute Engine is easy using the Cloud Debugger agent and bootstrap script – try it for yourself. You’ll need the following:
- 64-bit Debian Linux image
- Java JDK version 7 or 8
- Project source code stored either in Cloud Repository or in a connected GitHub or BitBucket repository
Cloud Debugger is available on both production and staging instances of your application and adds zero overhead on services that aren’t being actively debugged. The debugger adds less than 10ms to request latency when capturing application state and doesn’t block or halt execution of your application.
-Posted by Keith Smith, Product Manager
Feed Source: Google Cloud Platform Blog
Article Source: Troubleshoot projects running on Google Compute Engine with Google Cloud Debugger