How do you debug visual layout issues or performance bottlenecks, such as dropped frames during scrolling?