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?
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.
The first time any instance runs the code at the snapshot location, Debugger takes a snapshot and makes it available for viewing.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With