Use beginPath to draw the debug line