update:
- add registering code for debug output.

Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>