问题
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 in Listening for transport dt_socket at address: 8080
Thanks.
回答1:
Seems like I was making a stupid mistake. Even if anyone who is facing a similar problem please follow this.
来源:https://stackoverflow.com/questions/48404237/debug-localhost-on-app-engine-with-intellij-idea-and-gradle