Debug tool - sorry i swear i had pulled a pr from this before