fwcd / kotlin-debug-adapter

Kotlin/JVM debugging for any editor/IDE using the Debug Adapter Protocol
MIT License
110 stars 19 forks source link

Custom Kotlin Script definition can't be debugged #89

Open jacinpoz opened 2 months ago

jacinpoz commented 2 months ago

I have defined several custom Kotlin Script definitions that work relatively well in VSCode once the experimental Kotlin Script flag is enabled, although some generic infix extension functions on interfaces can't be resolved (but that is a separate issue...).

However, what I am missing now is the ability to set a breakpoint in a Kotlin script and be able to debug it as part of the script evaluation. This is something that works well in IntelliJ so I assume it is doable. Is this expected or do I need to do any additional configuration for the debugger to work?