There are many articles on how to open the remote debugging port of Tomcat on the Internet. Most of the operations are complicated. Note: The following methods have been verified only in tomcat5.5. I used the zip version of tomcat5.5 and installed it in/APP/tomcat5.5. Check the/APP/tomcat5.5/Catalina. Sh file. Note:
|# Jpda_transport (optional) JPDA transport used when the "JPDA start" # command is executed. The default is "dt_socket ".
In fact, you only need to add a starting parameter to enable remote debugging. We usually start through bin/startup. Sh. Check the last line of startup. sh:
|Exec "$ prgdir"/"$ executable" start "$ @"
You can open the remote debugging port with a slight modification:
|Exec "$ prgdir"/"$ executable" JPDA start "$ @"
Restart Tomcat and check whether NMAP localhost is up. Remote debugging is enabled, but I don't know how to perform remote debugging of JSP in intellij idea 5.1. This is my favorite Java editor. I hope the tall man can explain it in detail.