API: added debugFlag().