如何在Eclipse中单击启动多个调试会话? [英] How can I launch more than one debug session in Eclipse from a single click?
问题描述
当我需要调试应用程序时,我必须:
- 在Maven项目(通过m2eclipse)上调用Run As ...war:expanding gwt:debug。这将启动GWT的应用程序服务器,并等待端口3408上的远程调试连接。需要等待WAR进行爆炸,这意味着可能会发生这种情况。
- 调用调试为...一个远程Java应用程序连接到服务器。
我已将两个目标添加到收藏夹以锁定他们下降了,但仍然是一个痛苦。
我想从一次点击而不是两个离散的动作依次启动它们。
在Eclipse中有没有办法实现这一点?
尝试这个插件。 http://marketplace.eclipse.org/content/escripts
您可以轻松地定义Eclipse操作的脚本。您创建一个启动2调试会话的脚本,然后单击或快捷方式运行。
编辑:
插件被移动,现在称为EASE。
I'm currently writing a GWT application through Eclipse. Eclipse is used for development but I use the m2eclipse plugin and a Maven pom.xml with the GWT plugin to build & run it.
When I need to debug the app I must:
- Invoke "Run As ..." on a Maven project (via m2eclipse) "war:exploded gwt:debug". This launches GWT's app server and waits for a remote debug connection on port 3408. The need to wait for the WAR to be exploded means it could be a minute for this to happen.
- Invoke "Debug As..." a Remote Java Application to connect to the server.
I've already added both targets to favourites to lock them into the drop down but it's still a pain.
I'd like to launch them both in sequence from a single click rather than two discrete actions.
Is there any way in Eclipse to achieve this?
Try this plugin. http://marketplace.eclipse.org/content/escripts
You can define scripts of Eclipse actions easily. You create a script of starting the 2 debug session, then run with one click or shortcut.
EDIT: The plugin was moved and is now called EASE.
这篇关于如何在Eclipse中单击启动多个调试会话?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!