when i debug my code, i can only get it to go thro...
# javascript
c
when i debug my code, i can only get it to go through the javascript code. I can’t get the sourcemaps to work that would let me step through the kotlin code i wrote that got compiled to js
Did you add both lines to the config?
Sourcemaps should work. If they don't it is probably a configuration problem
c
Yeah, I’ve followed those steps and the source maps do get generated but I haven’t found a way to make them work. I’m 99.999% certain it’s a config issue but its been an inscrutable problem for me
They don’t show up as sources in the browser ever
a
cc @bashor
c
Aha! I actually just got debugging working. Needed the
source-map-loader
webpack plugin as a devdependency, then add the rules to use it in webpack config. This is phenomenal!
a
🎉