Refinement: use same macro as main.c for serial debug