Adding debug output to the signing process