One thing you can do to completely reduce or eliminate die-off symptoms is to sweat out the toxins via the skin, the bodies largest organ. You can do this by doing a steam room, sauna, hot tub, jacuzzi, or even a hot bath to sweat out the toxins. You can do this up to 6 days a week if needed.
The reason you are experiencing a cough is because the toxins are detoxing via the lungs, which are the dumping grounds of the body.
Almost all vegetables are antifungal, so this is likely why you experienced some die-off after eating them! Great natural antifungals include garlic, onions, and rutabega.