Added consoleMirror for mobile phone debug