Force relevant unit to be output in debug

Fixes #42