Updates to debugging