only print debug output when XCHATDEBUG env variable is set