dump demo stream only in debug mode