简体   繁体   English

Stackdriver Debug不捕获快照

[英]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. 我正在浏览Google Cloud Platform IntelliJ插件快速入门( https://cloud.google.com/tools/intellij/quickstart-IDEA ),我正在尝试设置快照。 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. 我还尝试通过控制台UI( https://console.cloud.google.com/debug )捕获快照,但它们也没有在那里工作,所以我认为问题不在于插件。 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. 我已经将代码提交到google存储库,如快速启动说明中所示,运行mvn clean installmvn appengine:update ,我可以通过调试页面浏览源代码,但是当我转到http时,快照永远不会出现: // project-name .appspot.com / hellobrowser。

Am I missing something? 我错过了什么吗?

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. 导航到https://console.cloud.google.com/iam-admin/privacy/project?project= <project- key >,然后阅读并接受该页面上的许可协议。 Debugging worked for me after that. 之后调试对我有用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM