Hi Vincent,
To debug is "easy". Simply start curriki in
debug mode (see start_xwiki_debug.sh), open your IDE and
connect to the running JVM. Then you can trace execution step by step.
which IDE do you use? Eclipse with the XWiki Eclipse Plugin?
Bests,
Moritz