Add a command line option to display debugging information.

For development it could be useful to have an option to switch on logging.debug.