12. Debugging and performance issues