It can be set using the env
keyword in a launch.vs.json
file. However, there do not seem to be a way to use any variables from the the CMake Configuration phase. Thus forcing you to use hardcoded environments paths in your launch.vs.json
file.
See: launch.vs.json