I am working on spring app and need to step through a controller method to see how it works.
I am working in eclipse and building my app with gradle bootRun
command.
How to run it in debug mode?
i tried gradle bootRun --debug
but it's just debug log, not debug mode
i tried gradle help --task bootRun
-- this gives me info about task
there i saw --debug-jvm
option but when i run
gradle bootRun --debug-jvm
application doesn't start
After you run ./gradlew bootRun --debug-jvm
the application is suspended until you connect your debugger to the port it is listening on (port 5005).