setting output to debug