Fixed debugger is None case