Adding debugging from settings