Selectively write GC debug output