A NIR phosphorescent osmium(ii) complex as a lysosome tracking reagent and photodynamic therapeutic agent.