Is it possible to debug the Kotlin code of my web ...
# javascript
e
Is it possible to debug the Kotlin code of my web app from IntelliJ, by using breakpoints? Or if another way is recommended, please tell me where to start. (Maybe this is a question for #compose-web because it's a compose for web project?)
I found that it's possible to debug my kt files from the browser inspector, but it's a different experience compared to IntelliJ
o
Given that your source maps work (you're seeing Kotlin code in the browser's dev tools), have you checked this? https://www.jetbrains.com/help/idea/interactive-debugger-console.html
Then it's basically about adding a new run configuration in IntelliJ of type
JavaScript Debug
, setting the URL and launching it with the debugger icon.