debug window average