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.
Seems like I was making a stupid mistake. Even if anyone who is facing a similar problem please follow this.