Only halt on ebreak if a debugger is attached.