Go into Marlin_main.cpp and search for marlin_debug_flags That will show you where it is set and referenced.