Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to try SourceMaps with GWT?

https://plus.google.com/u/1/110412141990454266397/posts/Nvr6Se6eAPh

does anyone know how to try it with last build of GWT (from svn) and Chrome Canary?

like image 356
user1043173 Avatar asked Nov 19 '25 10:11

user1043173


1 Answers

See http://code.google.com/p/google-web-toolkit/wiki/SourceMaps

it's only a matter of adding the following to your gwt.xml:

<set-property name="compiler.useSourceMaps" value="true" />

The compiler will then output source maps and the necessary triggers in the JS code (currently only for the safari permutation, to target Chrome only).

Beware, it's rather resource consuming! Be prepared to bump your -Xmx et al.

like image 108
Thomas Broyer Avatar answered Nov 22 '25 02:11

Thomas Broyer



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!