Debug localhost on app engine with Intellij Idea and gradle

别等时光非礼了梦想. 提交于 2019-12-12 19:14:29

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!