Postman can run pm.execution.location from the desktop version, but throws an error when executed from with the Postman extension in Visual Studio Code. I use it in a pre-request-script.
Is there a work-around for this? Is this a version mis-match between Postman and its related VSC extension?