onDebugChanged