Having trouble printing debug text, giving up for today