method to debug channel output