I have created a Google app engine project using gradle and am using IntelliJ for implementation.
I am able to run the application using gradle task but when I try to debug it the application doesn't stop at the break points.
The debugger always seems to be listening at a different port.
I have added the following JVM flags in gradle.build but with no luck.
jvmFlags = ['-Xdebug', '-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9999']
Any help is appreciated.
You can create a run/debug configuration by going to the drop-down for your run configurations in the toolbar. Use the 'Google App Engine Dev Server' configuration and you don't need to worry about setting the jvmFlags. I have written many Gradle/App Engine projects and have debugged them this way without issue.
You will need to specify your app engine application server. If you hit the ... next to the drop-down you can navigate to where you have it downloaded. I have always used the app-engine gradle task to download gradle. Then you find the latest app engine download in your .gradle directory.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.