[Autogenerated] Let's start with the target virtual machine running,
these Windows 11 operating system.
I'm going to first launch,
a command window or terminal window with admin privileges.
Then we can use VCD edit, and make the changes.
To the debug settings.
That's going to be DbSet ins, and then net That's going to be the network host,
IP and We need to know what's the IP of the host.
So in this case, I don't know, that up front.
Let me first.
Do a ping to my host machine which has happens, to have this name.
So, we can see the IP here, is 17223 81.
That's going to be good enough.
So let's now go back.
To BCD, edit, slash DB G settings, and then We have net and host,
IP that's going to be that particular number,
and then We need to select the port that is available on,
on the host.
So let's select something like 56,000 perhaps.
And We'll see if that works.
If not, we'll be able to change, that In fact,
we should have specified the particular key which in this case,
I've specified that in the past usually what I do is specify,
a simple key, like 1234 in order for me,
to be able to more quickly set up the host.
You.
Want to use the automatically generated key in cases where you debug a machine,
which is really far away.
And You might go through other networks.
That you don't have control over.
So once we do that we need to restart the system.
But before I do that let me launch my debugger on the host.
Lets me do that So I'm launching win debug preview here on
the host here it is Now we need to go,
to kernel debug here attached to kernel and then I need to Go ahead.
And Look at network here.
And provide a port number,
that should be exactly the same must be exactly the same as
the one I specified on the target because its going to
connect to these port on the host, and then The of course.
I must match the key.
This is Why I typically use these simple kind of keys.
To make it easier on myself.
I'm going to click.
OK.
Here, to See what's going on you.
Can see that the debugger is Now waiting for connection,
going back, to my machine, I can Now go ahead.
And Restart this machine, and Hopefully we'll get a connection.
Let me restart that machine.
This is necessary because the debugging settings have changed.
There's no way around that Going back,
to my debugger I hope these things will actually connect They should,
we'll see.
Notice my target machine.
Is booting, and we got a break point, very early.
In the boot of the target machine.
So you can look at things here but not very interesting at this point.
Let's just go ahead.
And use go to let the target continue.
Usually it stops very quickly.
This is a spurious, stop.
You don't need to look into that too much.
Just press G again, to let the target continue execution.
So now the target should continue booting normally.
And We're connected, to that system, we can now break into that system,
look at whatever is going on while the system,
is running and then If we in fact, break into it,
it's going to be completely frozen as we'll see.
In the Next demo.