scripts: Enable debugging

Add support for verbose output via the debugging switch.
This is especially useful when making calls to the Zotonic Erlang node
for module related operations.