Enable debugging by DEBUG/S.

Turn all debugging related ifdefs into runtime option.