Debug Trait

The Debug trait can be used to enable debugging on the integration container, so that a remote debugger can be attached.

Enabling the trait will inject the JAVA_DEBUG environment variable into the integration container.

This trait is available in the following profiles: Kubernetes, Knative, OpenShift.

Configuration

Trait properties can be specified when running any integration with the CLI:

kamel run --trait debug.[key]=[value] integration.groovy

The following configuration options are available:

Property Type Description

debug.enabled

bool

Can be used to enable or disable a trait. All traits share this common property.