Debugger: Move test if directory was set from Debugger to Logger

Because we have public interface ILogger, it's make sense test directory in Logger, not Debugger