Hi, Peter.
See Compiling/Debugging C-Block Components With MSVS thread for links to step-by-step for Visual Studio.
But you asked about VS-Code instructions. VS-Code supports at least a couple of debuggers as add-ins. The exact steps would differ but should be similar to MSVS. I’ll take a quick look but no promises.
–robert