Added a debug command

Fixes #99