Revert "config: remove useless debug options"

This reverts commit 96c1dff13d63cc63cc58d438849f3e239b9d4e9b.