Is there a way to disable all call to print to the output in a script?

You can actually debug plugins now.