How to debug the nuxeo local server
We have created some plugins and deploy those plugins on nuxeo local server. How to debug the plugins deployed on nuxeo local server with debugger points
I think @Patrick Abgrall response is quite clear for experienced users, but it can be tricky for newbies.
After uncommenting the line in the nuxeo.conf file, you will need to start your nuxeo instance. Once it is running, go to your Eclipse project, Right click -> Debug as… -> Debug configurations… Then, duble click on “Remote Java Application”, introduce your host (“localhost” if you are running the Nuxeo instance in the same machine) and put 8787 as port.
Finally, click on “Debug”. And that's it!
If it gives you an error connection, check that, in the line you uncommented at the very first step, the “address” value is 8787. If that value is different, just put the same value in the Eclipse configuration.
In nuxeo.conf, uncomment the line which looks like:
JAVA_OPTS=$JAVA_OPTS -Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n then, in your Java debugger, point to