Added guard for GDB console output of debug messages