Add debug flag to topic broadcast