debug print wait flags