Debug localhost on app engine with Intellij Idea a

2019-07-14 16:41发布

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条回答
萌系小妹纸
2楼-- · 2019-07-14 17:35

Seems like I was making a stupid mistake. Even if anyone who is facing a similar problem please follow this.

查看更多
登录 后发表回答