add debug()
Merge pull request #1 from segmentio/add/debug

add debug()