Show debug messages only on interactive shells