问题描述
我正在使用IntelliJ社区,并使用Gradle构建应用程序引擎标准环境应用程序。在迁移到IntelliJ和端点框架之前,我正在使用Android Studio。我无法调试我的本地主机。按照此处所述添加了jvmFlags:
appengine {
run {
jvmFlags = ['-Xdebug','-Xrunjdwp:transport = dt_socket,server = y,suspend = y,address = 5005']
}
}
并使用调试按钮将我的应用程序部署到本地。但该应用程序未部署并停留在
收听地址为8080的传输dt_socket
谢谢。
好像我犯了一个愚蠢的错误。即使遇到类似问题,请按照进行操作。
I am using IntelliJ community addition and building an app engine standard environment application with Gradle. I was using Android Studio before migrating to IntelliJ and endpoint framework. I am not able to debug my localhost. I added jvmFlags as explained here: https://cloud.google.com/appengine/docs/standard/java/tools/gradle
appengine {
run {
jvmFlags = ['-Xdebug', '-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005']
}
}
And deployed my app to local with debug button. But the app didn't deploy and stuck inListening for transport dt_socket at address: 8080
Thanks.
Seems like I was making a stupid mistake. Even if anyone who is facing a similar problem please follow this.
这篇关于使用Intellij Idea和gradle在应用程序引擎上调试localhost的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!