How is Kotlin (Javascript-experimental) run/debug config supposed to work?


I’ve been trying to debug Kotlin code from within Idea using the (Javascript-experimental) run/debug config and so far I have not been able to do it.

I can debug Kotlin code if I use javascript debug config but then what is the point of Javascript-experimental configuration?

It is described in the reference documentation but I can’t find any other clues regarding its intended use.

I simply want to write in Kotlin, transpile to js and debug from the ide and the only run debug config that appears to work is javascript. What am I missing here?