Add debug info.
Add support for pausing/resuming topic and task.
close #12