ethpipe.c: debug code