Jurriaan Mous
01/29/2018, 8:04 AM[compileKotlin2Js, compileTestKotlin2Js]*.configure {
kotlinOptions.moduleKind = "commonjs"
kotlinOptions.sourceMap = true
}
- You need to disable “Do not step into javascript libraries” otherwise the debugger does not step into the common code.
- You need to add a build/gradle task to your test runner otherwise the javascript is not
build with latest code when you start debug task prepareForMocha(dependsOn: [compileTestKotlin2Js, populateNodeModules])