Add debug option to enable all log messages