如何从另一台计算机上以开发模式检查gwt应用程序 [英] how to check gwt application in dev mode from another computer
问题描述
我在我的Mac上开发了一个GWT应用程序,现在我应该在我的电脑上用IE进行测试。然而,我不想将代码复制到PC以重建项目并最终测试它。
我也不想在Mac上设置整个Apache + Tomcat服务器来部署项目,以便我的PC可以访问web应用程序。
有什么方法可以在我的Mac上以调试模式运行我的GWT应用程序,并且只需在PC上的IE中对其进行测试?我在使用Spring + Maven + Eclipse + GWT。
在eclipse的运行配置中,使用-bindAddress 0.0.0.0和这允许码头从本地外部接收流量。
在Eclipse菜单中
- 运行>调试配置... li>
- 确认您的项目在Web应用程序>项目名称下被选中。
- 选择右侧面板中的参数选项卡
- 在Program Arguments:下面添加参数-bindAddress 0.0.0.0
从这里你可以调试远程机器开发模式
I am developing a GWT application on my Mac and now I'm supposed to test it in IE on my PC.
However, I don't want to copy the codes to PC in order to rebuild the project and finally to test it.
Nor do I want to setup the whole Apache + Tomcat server on my Mac to deploy the project so that my PC can access that web application.
Is there any way I can run my GWT application in debug mode on my Mac, and just test it out in IE on my PC? I'm using Spring + Maven + Eclipse + GWT.
In your run configuration of eclipse use -bindAddress 0.0.0.0 and this allow jetty to receive traffic from outside localhost.
In the Eclipse menu
- Run > Debug Configurations...
- Confirm your project is selected left under Web Applications > Project Name
- Select the Arguments Tab on the right panel
- Under "Program Arguments:" append the argument "-bindAddress 0.0.0.0"
From there you can debug from a remote machine in Development Mode
这篇关于如何从另一台计算机上以开发模式检查gwt应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!