notes on debug