Debug Groovy Scripts - cortiz/crafter-intellij-plugin GitHub Wiki

Debug Crafter CMS site scripts.

With the Crafter CMS Intellij Plugin you are available to debug local (or remote) groovy scripts (classes,rest,filters,controllers and pages) to do so:

  1. Make sure that Crafter CMS is running in a debug mode

  2. Create a Remote Debug Configuration

    2.1 Make sure to use Crafer CMS default debug port (8000)

  3. Start the debug session

Notes:

  1. Crafter CMS engine will cache all Groovy classes, any change made in the classes must be follow by a call to /api/1/site/context/rebuild like this: http://localhost:8080/api/1/site/context/rebuild