Skip to main content
Version: 4.52.0

Debugging

By default, Xill4 will not print any additional information to the console. It will only print debugging output if the DEBUG environment variable is set to the namespace you specified.

  • To enable debugging output for all namespaces, set the DEBUG environment variable to xill:*.
  • To enable debugging output for a specific namespace, set the DEBUG environment variable to the name of the namespace. For example, to enable debugging output for the DB Query component, DEBUG=xill:component:db-query.
  • To enable debugging output for multiple namespaces, separate them with a comma. For example, DEBUG=xill:component:db-query,xill:service:sql
  • To disable debugging output for a specific namespace, prefix the namespace name with a -. For example, to disable debugging output for the auth namespace, DEBUG=-xill:component:db-query.
note

Using wildcards might flood your console with a lot of debug logging and should be used with care.

List of namespaces

NamespaceDescription
xill:component:*Debugging output for all components, replace the asterisk(_) for a component name to debug a specific component
xill:mainDebugging output for the main Xill4 process
xill:licenseDebugging output for the license
xill:service:_Debugging output for all services, replace the asterisk(*) for a service name to debug a specific service
xill:base:_Debugging output for all base functionality, replace the asterisk(_) for a base name to debug a specific base functionality