Add ipdb to requirements
Add tests, implment pause_resume reading