Use the TOMCAT container when debugging the project under Ubuntu. After setting the corresponding TOMCAT LOCAL path and related information, click the debug project to appear:
Unable to open debugger port : java.net.SocketException “Socket closed”
I've searched a lot on the Internet, and they all seem to be different from my own situation.
Later, I accidentally found that all .sh in the Bin directory of TOMCAT have no executable permission. Resolutely switch to the Bin directory:
chmod +x *.sh;
everything went smoothly