Adds debuging.