debug for config and environment