TOC_DEBUG = {} TOC_DEBUG.disablePaneMod = false function TOC_DEBUG.togglePaneMod() TOC_DEBUG.disablePaneMod = not TOC_DEBUG.disablePaneMod end