Remote debugging OpenCms with Eclipse and Netbeans
From OpenCms Wiki
Keywords: opencms, eclipse, source, jsp, remote, tomcat
Remote JSP Debugging (Eclipse)
In order to make JSP debugging work you first have to set a breakpoint into the desired JSP and debug the application. As soon as the breakpoint is hit Eclipse will ask you for the JSP source path. You have to choose the path of the web application where OpenCms is deployed. Eclipse will then display the JSP source and you will be able to step through it within the debugger. The source used is the one found in WEB-INF/jsp/.
See the posting on the opencms-dev mailinglist for details: http://www.nabble.com/Remote-debugging-OpenCms-with-Eclipse-tf3038442.html
On linux make sure, Eclipse has all the necessary rights.