Debug very unpleasant


I am trying to debug Kotlin javascript (Ultimate 2019.2) and it constantly misses breakpoints. It also mostly shows the compiled sources, not the written scripts, where i have placed my breakpoints. What am i doing wrong?

Its almost as if the lines are not in sync with the “program counter” (for lack of better term).