When I create Gradle/Java Application and try to debug it, it doesn't stop when I press the "Finish Debugging" button. That is weird and certainly different to behavior of Maven and Ant projects. Example:
Debug the project. Then press the big red button in the debugger toolbar. The debugger disconnects, but immediately reconnects again and the application continues. I find this unexpected. Output of one of my executions:
At the end I pressed the "small red" button in on the left side of the output window and that one terminates the app - e.g. workaround exists.