libraries/ghc-prim/cbits/debug.c (7 lines of code) (raw):

#include <stdio.h> void debugLn(char *s) { printf("%s\n", s); } void debugErrLn(char *s) { fprintf(stderr, "%s\n", s); }