PDB-554 better debugging output

Signed-off-by: Ken Barber <ken@bob.sh>