-
CONFIG_DEBUG
¶
Build kernel with debugging enabled
Type: bool
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.
Defaults¶
No defaults. Implicitly defaults to n
.
Kconfig definition¶
At subsys/debug/Kconfig:11
Included via Kconfig:10
→ Kconfig.zephyr:35
→ subsys/Kconfig:12
Menu path: (top menu) → Debugging Options
config DEBUG
bool
prompt "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.
(Definitions include propagated dependencies, including from if’s and menus.)