I'm trying to attach an intellij ultimate debugger...
# javascript
s
I'm trying to attach an intellij ultimate debugger to Chrome to debug kotlin code running in browser. I'm getting an error:
Use jsonreader.setlenient(true) to accept malformed json at line 1 column 1 path $
. Should I be using the "Attach to Node.js/Chrome" configuration, or is there a better way? I can see my kotlin sources and everything in the browser, just trying to get it to work in the IDE as well.
b
there are many way to achieve it, I hope this will help you: https://www.jetbrains.com/help/idea/debugging-javascript-in-chrome.html
s
I was able to get it working using the plain old JS debug