support require.async, config.debug