Remove needless debugging output
Honoring bazel dev guidelines:
Do not use the print() function in production code; it is only intended for debugging, and will spam all direct and indirect users of your .bzl file.
Added an optional argument to the generate function so as to only emit debugging output if debug = True
.