The first step to debugging Structr is to ensure a clean build.
For more details regarding this process refer to Building Structr from the Source Code.

Preparing the Structr instance

  1. Navigate to the root folder of Structr.
  2. Start the instance using ./structr-ui/
  3. Wait for the instance to be operational.

Attaching the debugger

Basis requirements

The debugger must support attachment using Sockets.
If this is supported, the debugger can be attached to port 5005.

Netbeans IDE
  1. Open the dialog found in Debug->Attach a debugger...
  2. Specify the host of your instance e.g. localhost and the debug port 5005.
  3. Confirm your settings with the Ok button.
  4. The debugger is attached and ready for use.


About this article
Last change 2017-05-04
Topics Structr 2.0