Debugging GWT app in production by loading SourceMaps from local environment Debugging GWT app in production by loading SourceMaps from local environment google-chrome google-chrome

Debugging GWT app in production by loading SourceMaps from local environment


Starting a new project, in my gwt module, I added the following lines of code:

<set-property name="compiler.useSourceMaps" value="true"/><set-configuration-property name="devModeRedirectEnabled" value="true"/><set-configuration-property name="CssResource.obfuscationPrefix" value="empty"/>

Starting the dev server in super dev mode after this allowed me to view my java code and also debug in all classes, including the entry point class. When a java breakpoint is set in the entry point class (I am using chrome 43.0.2357.81 m at this moment) I am able to refresh the page and the breakpoint is hit again.

Hope this helps!