Added debug output

Signed-off-by: nixnodes <code@eth.si>