In a Kotlin + Gradle + IntelliJ project, I noticed that I can run \\ debug (hitting breakpoints) my Main class using one of following tasks defined in gradle.build: