Toggles LED and prints debug information