In a recent project, the Dubbo service framework of Ali was used, which is similar to the SOA architecture, that is, the service of the project is provided in a Dubbo way, and the deployment of this service is completely independent of the deployment of the Web project. This upgrade of the system can be done when the Web project and service services separation, so in the process of development there will be a problem, that is unable to freely debug, the eclipse of the remote debug to come in handy, do the settings:
In another case, if you need to locate a problem on a Linux server, you can also use the Remote debugging feature to add the following configuration:
The specific parameters need to refer to the Linux server address and Tomcat configuration as follows:
This way, when you access an item on the server, eclipse listens to the port and aborts the breakpoint on your local eclipse.
About Eclipse Remote Debugging