Debug and draw