Tomcat remote debug (only need to modify one configuration)

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

https://www.ibm.com/developerworks/cn/java/j-lo-jpda1/

Guess you like

Origin blog.csdn.net/l1509214729/article/details/81706755