Spring boot app - doesn't stop on breakpoints and doesn't kill process after stopping

Answered

Hey JetBrains,

I love your updates. Yesterday I was using 2020.2.* ultimate, and now you updated me to 2020.3 without even asking me "do you want to update"?

So today, my spring boot app doesn't stop on breakpoints, and when I need to re-run it with gradle's bootRun task, previously running instance is not stopped automatically - and because they use some shared recourse, I have to kill it manually.

Any hints, what magic should I do in settings?

1
2 comments

Hello. Does it help if you remove .idea folder and reimport the project?

0
Avatar
Permanently deleted user

Hi

In fact, yes and no.

I checked out repo from scratch, changed run/build "with intellij" instead of "with gradle" and also in debug configuration -> added "debug all tasks" in "gradle debug" tab.
not sure which of this helped - but now it seems to be fine...

0

Please sign in to leave a comment.