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.
Using GWT Development Mode will launch the CodeServer and a embedded Jetty web server by default. There will start two servers, the first being the Jetty web server and the CodeServer which will listen for compile requests from the browser.
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.
The steps I have used using Eclipse/GWT 2.4:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With