Removed redundant check for debugger