Friday, May 29, 2015

Re: IntelliJ and debugging Javascript issues

Hm just tried it myself (using GWT 2.8 SNAPSHOT, IntelliJ 14.1.3) and I have to say that it seems to be broken.

I can only see the log output of chrome console in IntelliJ but break points do not work. I guess they do not work because IntelliJ does not see the SourceMaps provided by the SDM CodeServer. So IntelliJ does not know how to map your break point on a Java line of code to the corresponding JavaScript break point in Chrome debugger.

Normally when you run the JavaScript debug run configuration in IntelliJ you can switch to the "Scripts" tab in IntelliJs debug console and when you open the node for the SDM CodeServer you can browse the data found on http://localhost:9876/sourcemaps/app/ . However that is currently missing so IntelliJ does not see source maps.

I know that it does work in general because I already used it quite a bit some time ago. I guess either a Chrome or IntelliJ update has introduced a regression.

-- J.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment