Fix for DebugMem configuration