adding StreamStateDebug