英文:
How to debug a Google App Engine app with Java 11
问题
Google正在停用Google App Engine上的Java 8。似乎没有支持IDE迁移到Java 11。Eclipse的Google Cloud插件不再受支持。Google表示Google Cloud Code将不再支持在IntelliJ上使用Java 11。
如何在本地调试GAE应用程序?
我们过去使用Eclipse与Google Cloud插件。对于本地调试非常方便。
较新版本的Google CLI具有本地服务器,可以在本地运行GAE应用程序。但我不清楚如何在本地进行调试?它是否与任何IDE集成?
英文:
Google is deprecating Java 8 on Google App Engine. There seems to be no support for IDEs in moving to Java 11. The Google Cloud plugin for Eclipse is no longer supported. Google says Google Cloud Code will no longer support Java 11 on IntelliJ.
How does one go about debugging a GAE app locally?
We used to use Eclipse with the Google Cloud plugin. Worked very nicely for debugging locally.
Newer versions of the Google CLI have a local server so that GAE apps can be run locally. But I don't see how to debug locally with it? Does it integrate with any IDE?
答案1
得分: 1
根据这份关于支持的Java版本的文档:
> 云客户端库将继续支持Java 8,至少直到2026年9月。
根据GAE标准版和灵活版的文档,您仍然可以在本地部署和调试GAE应用程序时使用Eclipse。Eclipse目前仅支持JDK 8或11。较早或较新的版本尚未得到支持。
您还可以使用Cloud Code for IntelliJ在本地运行和调试GAE标准版应用程序。
另一个调试选项是快照调试器,适用于Java 8和11以及其他多种编程语言。
希望这对您有所帮助。
英文:
According to this documentation on supported Java versions:
> Java 8 will continue to be supported by Cloud Client Libraries for Java until at least September 2026.
You can still use Eclipse in deploying and debugging GAE apps locally based on this documentation for GAE standard and flexible. Eclipse currently supports JDK 8 or 11 only. Earlier or later versions are not yet supported.
You can also use run and debug GAE apps locally on Cloud Code for IntelliJ for GAE standard only.
Another debugging option would be Snapshot Debugger that is available for both Java 8 and 11 and other variety of languages.
Hope this helps.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论