debug and test demo source