How can I configure Eclipse (I'm currently using Kepler) so that when I press a keyboard shortcut, for example, F12, the Tomcat server starts or restarts in Debug mode?
I was able to make the F12 shortcut work, but I had to configure it for In Servers View . And that makes me jump to the server tab so I can apply the shortcut.
If I put another option, for example, In Windows or Editing Java Source it does not run, it says: The selection did not contain any resource that can run on a server .How can I get around this problem? That is, how can I start and restart the server from a global keyboard shortcut anywhere in eclipse?
I add that at the moment I need to use two servers, that is, my list of Servers have two Tomcats, and I would prefer a solution that gives a server always to fire. But if it is possible to make the shortcut work, I can try leaving only one server in the list. Anyway, being able to customize for the shortcut to always act on any of them would be even better.