Output deviceorientation to debug