Add debugging for SCTX-1559

Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>