I tried it that way, but when I passed only -d it triggered an error. And, args.debug was a string.