notes on using debug mode