What is remote debugging? When we generally debug a Web project Java code, we need to integrate your Tomcat server and your development tool (such as JBuilder), or some plug-in support for tools (such as Myclipse under Eclipse, etc.), these methods are in local Dip, you will run on the same server, if your development tool and server are no longer a machine, you need to implement remote debugging.
Implementation: Add the following settings in Tomcat's Catalina.bat file, of course, the SET CATALINA_OPTS variable should be used before it is used. This is to set some virtual machine parameters when Tomcat is started, so that the server allows the remote connection function, address = 5888 represents the port number of the remote connection, which can be set to any other non-conflict port. Other application servers such as WebLogic should also be able to set these parameters, interested in testing.