Add trivial debuglogging

Fixes #17