How to debug k2jvmcompiler?

nowadays I’m reading source code of kotlin compiler. I wanna figure out how “:compiler:incremental-compilation-impl” works.
I launch kotlin compiler by kotlin-gradle-plugin, but debugger can only track the code to gradle plugin. when it comes to compiler daemon, debugger cannot know how compiler works. Because it runs in RMI process(I guess)

So, is there any way to debug when it comes to daemon compiler?
Thanks!

I’m not sure how many people using this forum are familiar with the intrinsics of the compiler. You should take a look at the kotlin slack: https://kotl.in/slack. There is an active community of people working on the compiler there and they should be able to help you.