Debug logging for compiler