Eclipse removes -nosuperDevMode parameter in running configuration

427 Views Asked by At

I'm using eclipse and GWT 2.8. From GWT 2.8 in running configuration in eclipse it removes -nosuperDevMode after every restart. It is annoying because I want to debug client code in eclipse, not in browser. Can it be fixed somehow?

Thanks in advance.

1

There are 1 best solutions below

0
On

I had the same problem before. I found that I need to update the GWT plugin for eclipse from the GWT site http://gwt-plugins.github.io/documentation/gwt-eclipse-plugin/Download.html

It will delete the old plugin, and you will have to add a facet gwt to your project, but the classic dev mode is working without workaround

If you don't want to update your plugin, as a workaround in eclipse, you can set the run configuration to be kept in a file in your projet (Run configuration / your gwt webapp / common tab / Save as : shared file / store it in .settings for exemple)

When you have done this, configure it whith the -nosuperDevMode parameter, then go to the .settings directory with your file explorer and set the run file (xxx.launch) read only.

Eclipse cannot override it again, it will warn when you open the configuration but it is working.