[UE4-26] how to debug and trace an actor in the client-server c++ code?

hi, i’m a newbie for unreal engine, and want to step-by-step trace an actor from spawn to moving and finish, just like normal c++ procedure in gdb.
it is a client-server model,
i’m using vs code in ubuntu, want to know how to setup unreal engine and vscode.

thanks a lot.