Change flex debug output to not show if not needed