Problem: tomcat remote debug
Solution: only need to modify one place
Modify startup.bat under tomcat bin (Linux is startup.sh), add jpda before the last start to save ok
Then start tomcat
Debug: open eclipse
Then break the point in the eclipse project, after the browser is running
principle:
jpda = Java Platform Debugger Architecture
For specific principles, you can check the jpda document on the oracle official website or check the IBM technical community
http://www.oracle.com/technetwork/java/javase/tech/jpda-141715.html