President Barack Obama said Friday he welcomed a debate on the role of the National Security Agency, but that leaks by Edward Snowden had caused "unnecessary damage" to US intelligence capabilities.