Check Debug Mode (true/false) in C++
Is there a straightforward way to check if debug is set to true within C++ code? e.g. if (DEBUGTEST) gzdbg << "Gazebo is running in debug mode.\n";
add a comment
Is there a straightforward way to check if debug is set to true within C++ code? e.g. if (DEBUGTEST) gzdbg << "Gazebo is running in debug mode.\n";
Asked: 2023-02-09 03:02:08 -0500
Seen: 146 times
Last updated: Feb 09