One issue I've been having with multiplatform development is that I am no longer able to run anything from inside the IDE. Maybe there is some issue with the Gradle build script, but after switching my project to KMP I cannot run anything by right-clicking on a functions and selecting "Run" or "Debug" - instead I must setup a special task in Gradle and do everything from the command line. Has anyone else encountered this issue? How can I debug KMP code?
9 months ago
Create gradle run configuration that runs your "execute" gradle task. Then hit debug button and profit.
Although gutter run icons for main funs are expected to work just fine even for kmp projects (they do for me). Maybe try invalidating ij caches and re-syncing gradle project?