0

On a Jhipster project, build with Gradle we have the "gradlew -Pdev" command to run the project on localhost.

But how to launch it since Eclipse (or other IDE), in order to get break points and debug it ?

Thank you

jozinho22
  • 459
  • 2
  • 7
  • 24
  • Does this answer your question? [how to debug spring application with gradle](https://stackoverflow.com/questions/39490624/how-to-debug-spring-application-with-gradle) – Gaël Marziou Feb 18 '20 at 14:29
  • Not really... I launch by "gradlew -Pdev". And when i write gradlew --help, the console don't propose --debug-jvm... – jozinho22 Feb 25 '20 at 16:47
  • This is normal if you haven't modified anything in build.Are you a beginner with gradle? – Gaël Marziou Feb 25 '20 at 17:01
  • Yes. It works finally. I add "bootRun { jvmArgs=["-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=32323"] }" and connect to the good port with remote debug – jozinho22 Feb 25 '20 at 17:06

0 Answers0