I. Use
ps -ef | grep 8080 finalized you want to debug the server port number, know that it is deployed on the server.
II. To enter into this tomcat server, then cd logs
III. Use tail -50f catalina.out can be viewed in real-time log of cases in the window.