add a control function for debugging
|Priority:||Should have||Due date:|
Sometimes you wish to give control instructions to the debug object. E.g. you wish to set other colors for the output. Or you want to clear the output debug file and append the next output to the empty file. Or you may want to change the debug output into an email or to the Front End.
This would allow an easier debugging with less output. There exist already some debug extensions. They all have their individual settings in the EM. With this function the debug settings could be changed during the execution of the extensions which are debugged.
(issue imported from #M16200)