Foso
06/27/2020, 2:28 PMfrank
06/27/2020, 2:43 PMwww file or App is writed in kotlin or JS?Foso
06/27/2020, 2:50 PMfrank
06/27/2020, 2:51 PMwww file writed with JS and every time I call my Debug task automatically enter inside my Kotlin code.
I understand that it does it because I have JS maps enabled.frank
06/27/2020, 2:53 PMrun taskFoso
06/27/2020, 2:58 PMfrank
06/27/2020, 3:03 PMfrank
06/27/2020, 3:10 PMcompileKotlinJs{
kotlinOptions.sourceMap = true
kotlinOptions.sourceMapEmbedSources = "always"
}Ilya Goncharov [JB]
06/28/2020, 7:13 AMrun task and choose debug, and it should run debug for nodejs. No additional configuration required, source maps are already configuredFoso
06/28/2020, 5:00 PMIlya Goncharov [JB]
06/29/2020, 6:26 AMrun or nodeRun
Additionally you can put additional arg to the exec task --inspect-brk and then create Run configuration Attach to Node.JS , it is available in Ultimate version of Idea