From some versions are present 2 custom task types, Harbour that starts the configured harbour executable, I use it to see the cpp and the hrb generated
And HBMK2 that calls the HBMK2 on the same folder of configured harbour. The goods of this task type is: if you configure a setupBatch it is called only the first time with a little time saving, if you enable debug symbols (using "debugSymbols": true) it uses the code from the extension in this way it is always the latest.
For an example of it see
https://github.com/APerricone/harbourCodeExtension/blob/f3b2fd9c6840274fefa71437bc725897bcc1e1b9/test/.vscode/tasks.json#L26