move the debug flag to headers.h file