Fixes issue on breakpoint resume where console was not open upon pausing but opened while paused. Or any other case where args or args.maxStringLength is not defined.