When I run my program in IntelliJ then use the STOP button, it does not call my shutdown hooks that I\'ve created. Is there a way in IntelliJ to have those called on shutdow
If you are on Mac (and I assume Linux), get the pid and use kill from the terminal. It's an extra step, but works to debug the shutdown handler when you need to.