discovered 03 Aug 2026
dbg-macro
→ View on GitHubdbg-macro is a C++ header-only library that provides a macro `dbg(…)` for enhanced debugging by allowing developers to easily log variable values, including their types and the context of their usage, during runtime. It facilitates quick inspections without needing to set up a full debugger, featuring colorized output and specialized pretty-printers for various data types. This tool is compatible with C++11, C++14, and C++17, and can be integrated into projects with minimal setup, while also issuing warnings to remind users to remove debugging statements before production.