change debug mode code generation to MDD