with `chrome://` im able to step through javascrip...
# intellij
t
with
chrome://
im able to step through javascript code executed... then there a re source maps created by kotlin. now is there a way to attach intellij to a node server so remote debug javascript code which was generated out of my kotlin code?
t
dioes it support running a node application?
the setup for us is: i am a backend developer developing some library code with kotlin/js. our Frontend developers use this library in their react/redux application. Now, of course, i have to debug my code when it produces bugs in js
n
well this seems to be a chrome plugin, but maybe you can find the code for this and adapt it for node, or find who wrote it
t
i guess onbe ca make it run node applications, too. the main thing i dont understand is, how code maps works and how it maps javascript to kotlin 😄
.also i cannot see that this plugin would do that...
n
see the bit about debugging typescript in here: https://blog.jetbrains.com/webstorm/2017/09/debugging-node-js-apps-in-webstorm/ i think that kotlin also generates the same typemaps
so debugging with webstorm should just work
t
cool, thank you!