DebugOptions

API Documentation:DebugOptions

DSL object for additional configuration properties that should only be used in special cases like troubleshooting.

For example, the support team may instruct you to activate agent debug logging by enabling the property agentLogging.

Properties

PropertyDescription
agentLogging

Specifies if the debug logging of the agent should be activated.

byteCodeVerification

Specifies if simple byte-code verification should be performed after the class was instrumented

certificateValidation

Specifies if the certificate validation of the agent should be activated.

failOnWarnings

Specifies if the build should fail when a warning occurs

Methods

No methods

Script blocks

No script blocks

Property details

boolean agentLogging

Specifies if the debug logging of the agent should be activated.

WARNING: Do NOT activate debug logging for your production apps. Logging will decrease the agent performance and can write sensitive information into the device logs. This option should only be used to troubleshoot agent problems.

The default value is false.

boolean byteCodeVerification

Specifies if simple byte-code verification should be performed after the class was instrumented

Note: The verification can also show False Positives. For example, the verification will fail if the byte-code contains unusual characters in the class name.

The default value is false.

boolean certificateValidation

Specifies if the certificate validation of the agent should be activated.

WARNING: If the certificate validation is deactivated, the agent will not verify the server certificate and therefore the agent communication is vulnerable to malicious attacks. Hostname verification can't be deactivated with this option

The default value is true.

boolean failOnWarnings

Specifies if the build should fail when a warning occurs

The default value is false.