added dsmdebug file for debugging using macros and setting flags in buildscript