Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Stackdriver Debug not capturing snapshots

I am running through the Google Cloud Platform IntelliJ plugin quick-start (https://cloud.google.com/tools/intellij/quickstart-IDEA) and I am attempting to set up a snapshot. I am following the instructions, but the snapshots are never hitting. I have also attempted to capture snapshots through the console UI (https://console.cloud.google.com/debug), but they are not working there either, so I don't think the problem is with the plugin. I have committed the code to the google repository as indicated in the quick-start instructions, run mvn clean install and mvn appengine:update, and I can browse the source through the debug page, but the snapshots never hit when I go to http://project-name.appspot.com/hellobrowser.

Am I missing something?

like image 859
BamaPookie Avatar asked Jun 01 '16 15:06

BamaPookie


People also ask

How do I debug snapshot?

Take a debug snapshot Click the source code line number to take a snapshot at that location. Make sure that the Snapshot panel is selected. Select the file that contains the source code. The contents of the selected file are displayed in the center panel.

Who take the snapshot of the source in cloud computing?

The first time any instance runs the code at the snapshot location, Debugger takes a snapshot and makes it available for viewing.

What is the purpose of Stackdriver debugger?

Stackdriver Debugger provides a familiar breakpoint-style debugging process for production applications, with no negative customer impact. Additionally, Stackdriver Debugger's logpoints feature allows you to add log statements to production apps, instantly, without having to redeploy them.


1 Answers

I figured out the answer. You must accept the license agreements for the project you wish to debug. Navigate to https://console.cloud.google.com/iam-admin/privacy/project?project=<project-key> and read and accept the license agreements on that page. Debugging worked for me after that.

like image 103
BamaPookie Avatar answered Oct 03 '22 14:10

BamaPookie