:orphan: .. title:: CONFIG_DEBUG .. kconfig:: CONFIG_DEBUG CONFIG_DEBUG ############ *Build kernel with debugging enabled* Type: ``bool`` Help ==== .. code-block:: none Build a kernel suitable for debugging. Right now, this option only disables optimization, more debugging variants can be selected from here to allow more debugging. Defaults ======== No defaults. Implicitly defaults to ``n``. Kconfig definition ================== At ``/debug/Kconfig:90`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:44`` → ``/Kconfig:17`` Menu path: (Top) → Sub Systems and OS Services → Debugging Options .. code-block:: kconfig config DEBUG bool "Build kernel with debugging enabled" help Build a kernel suitable for debugging. Right now, this option only disables optimization, more debugging variants can be selected from here to allow more debugging. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*