Hi, we are making the implementation of TOML serialisation library (
https://github.com/akuleshov7/ktoml)
I am trying to debug tests but do not know how to debug core logic (from kotlin.serialization compiler plugin) in IDEA.
1) I tried to run: gradle
ktoml corecleanJvmTest
ktoml corejvmTest --tests "com.akuleshov7.ktoml.decoders.InlineDecoderTest" --no-daemon -i -Dorg.gradle.debug=true -Dkotlin.compiler.execution.strategy=in-process
2) I put breakpoints to the test, ktoml and serialization core
3) I attached remote debugger in IDEA to the process
4) It connected successfully, but missed all break points. Test simply failed. What I am doing wrong?
Is there any way to debug the implementation of kotlinx.serialization interfaces and to get the stack from serialization core?