"DebugMode" definition is now for Unity Editor only