In run.sh script must be added the line
JAVA_OPTS="-Xmx2000m -Djava.awt.headless=true -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000 "
Configure eclipse
Select the project and the host. Include in source your OpenKM java project.