The target machine was guest os under hyperV. I set up kdnet debug by kdnet.exe from the page https://learn.microsoft.com/en-us/windows-hardware/drivers/debugger/setting-up-network-debugging-of-a-virtual-machine-host. I was sure that the target os could be debugged because the windbg at the host machine could break the target os.
At the visual studio, I try configure the target machine by extension->Driver->Test->ConfigureDevice. But it was fail.
Installing necessary components...
Failed operation: An error occurred while connecting from the remote machine.
I closed firewall that was in both host and target os. But nothing was better.