Check Debug Mode (true/false) in C++

asked 2023-02-09 03:02:08 -0500

Gavriel-CTO gravatar image

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";

edit retag flag offensive close merge delete