Adding more debug logging.

Signed-off-by: Joe Buck <jbbuck@gmail.com>