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

0 votes

2 answers




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.


0 votes

a c
Hello Rodri, is there any way to acheive the same using IntelliJ? Thanks

Hello a c. I don't use IntelliJ, but I think the process is quite similar. Just take a look at this, for example: . As in Eclipse, you have to configure a new Run Configuration (Remote Debugging).

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

0 votes