Adds debug line to transition