Debug and design