makes imshow for simulate under debug mode