Pair production at the edge of the QED flux tube