Adding debug mode configuration.