Put a breakpoint at return 0 line / getch line.
U'll see can output.