When debugging a multiplatform ktor app, the wrong...
# intellij
i
When debugging a multiplatform ktor app, the wrong source is selected by defaukt among the available ones, as in i’m debugging jvm ktor server multiplatform app, and getting the mac source by default Is there anyway to configure this?
a
Hello @Ido Flax, can you please attach a simplified project with the issue reproduction? In addition, please clarify what IDEA version do you use? Thank you!
i
hi @Anton Mefodichev, you should be able to see it here: https://github.com/Flaxoos/flax-ktor-plugins
IntelliJ IDEA 2023.2 (Ultimate Edition) Build #IU-232.8660.185, built on July 26, 2023 Runtime version: 17.0.7+7-b1000.6 aarch64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. macOS 13.5.1 GC: G1 Young Generation, G1 Old Generation Memory: 10240M Cores: 10 Metal Rendering is ON Registry: idea.ignore.disabled.plugins=true ide.experimental.ui=true Kotlin: 232-1.9.0-IJ8660.185
a
@Ido Flax, can you please also clarify on what commit does the issue occur? Where do you set a breakpoint? Thank you!
i
@Anton Mefodichev Sorry i moved that code to another repo, (like a test repo for this lib) i’ll publish and let u know when it’s there
@Anton Mefodichev At the moment i can’t recreate it, it’s possible that’s it was happening only when i was debugging the consuming project of an MPP lib when that project was in the same repo as the lib. I’ll let you know if it happens again, thanks for your attention 🙂
thank you color 1