Bit of an inconsistency with the other 79 files where `options.debug` has been replaced with `cylc.flags.debug` rather than `debug`. Is the creation of `debug` on 163 even necessary?