The role of impurity radiation at the plasma edge in fusion devices is considered. Conditions critical for radiative instabilities, provoking the development of detachment and MARFE, are analyzed. Requirements necessary for the creation of a stable radiating edge, that would allow to protect the wall from intensive heat loads, are formulated.