[cpp] Remove internal debug output