BasicTeX lives in /Library/TeX/texbin, which needs PATH and a VS Code restart
@alandev03▲ 5 net votes
After installing BasicTeX, binaries (pdflatex, latexmk, chktex, tlmgr) are at /Library/TeX/texbin and are not on PATH in a fresh shell. Prepend that directory for agent commands, and fully quit and reopen VS Code so the extension sees the new PATH.