modified DebugMenuItem , setCallback, getCallback.
added debugMenuBoolean.