when i try to debug my java app the IDE freezes for about 30 seconds with the message: \"Finished, saving caches\"
After it unfreezes all works fine. It happens ever
If anyone else is still having this problem, I found this related issue on the IntelliJ board: https://youtrack.jetbrains.com/issue/IDEA-157303
It seems the problem is related to resolving hostnames. The recommended workaround is to include the following line in your /etc/hosts file:
127.0.0.1 localhost .local
And for IPv6 resolving, the same:
::1 localhost .local