Replaced --server flag with --debug flag for more log messages