use debug module in examples instead of shell