[this forum thread] (https://intellij-support.jetbrains.com/hc/en-us/community/posts/360009399079-How-do-I-listen-to-Debugger-events-within-my-own-intellij-Java-Gradle-plugin-) mentions how to get notified when stopped.