Allow --debug as the first argument.

You're welcome andymccr.