Debug GWT application in a remote browser

rafalry picture rafalry · Oct 15, 2010 · Viewed 18.4k times · Source

I try to debug the GWT app in a remote browser (located on other computer than Eclipse instance) for example in VMware environment. Unfortunately while opening address below there is no connection.

http://192.168.1.2:8888/app_test.html?gwt.codesvr=192.168.1.2:9997

I've tried adding -Dgwt.args="-bindAddress 0.0.0.0" to Arguments -> VM arguments but the parameter seems to be unrecognized. Server still binds to localhost.

I use Google Eclipse plugin. Thank you for any help.

Answer

z00bs picture z00bs · Oct 15, 2010

In eclipse open your debug configuration and add the param -bindAddress 192.168.1.2 (replace the ip with the local ip address of your machine) to the arguments > program arguments. That's how we debug in virtual box.