Unfortunately, this is no longer possible (at least it seems not to work in my case) in platformio-vscode-ide version >=2.0.0. The previous versions were executing the platformio scripts directly, while the newer versions are executing the platformio Python module which is not exported from the platformio derivation outputs hidden behind buildFHSUserEnv; see https://github.com/platformio/platformio-node-helpers/blob/8fac63be73be40589cb006ab0f71cfe7e0b53835/src/core.js#L85 and https://github.com/platformio/platformio-node-helpers/blob/c59068bb37d24ff3af0ff8adf138eeed89803a37/src/core.js#L117
Help would be appreciated.