Fixed lost of stdin on ipdb