Implement the rest of the debug functionality :)