You can't put "--" (two consecutive dashes) anywhere in the output for a debug.printL statement. For some reason the script compiler doesn't like it and interprets both debug and printL as undefined variables.
MRG comments: Probably interpreted as a unary decrement operator.