CONFIG_MBEDTLS_DEBUG

mbed TLS debug activation

Type: bool

Help

Enable debugging activation for mbed TLS configuration. If you use mbedTLS/Zephyr integration (e.g. net_app), this will activate debug logging (of the level configured by MBEDTLS_DEBUG_LEVEL). If you use mbedTLS directly instead, you will need to perform additional configuration yourself: call mbedtls_ssl_conf_dbg(&mbedtls.conf, my_debug, NULL); mbedtls_debug_set_threshold(level); functions in your application, and create the my_debug() function to actually print something useful.

Direct dependencies

MBEDTLS_BUILTIN && MBEDTLS

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At modules/Kconfig.mbedtls:74

Included via Kconfig:10Kconfig.zephyr:13modules/Kconfig:8

Menu path: (Top) → Modules → mbedTLS Support

config MBEDTLS_DEBUG
    bool "mbed TLS debug activation"
    depends on MBEDTLS_BUILTIN && MBEDTLS
    help
      Enable debugging activation for mbed TLS configuration. If you use
      mbedTLS/Zephyr integration (e.g. net_app), this will activate debug
      logging (of the level configured by MBEDTLS_DEBUG_LEVEL).
      If you use mbedTLS directly instead, you will need to perform
      additional configuration yourself: call
      mbedtls_ssl_conf_dbg(&mbedtls.conf, my_debug, NULL);
      mbedtls_debug_set_threshold(level);
      functions in your application, and create the my_debug() function to
      actually print something useful.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)