with --debug, args.d is not defined anymore

May well be my fault with all the changes in the last days and me trying to keep my version up to date. If so, sorry for that!