I've created task (tasks.json) for setting environment variable as below
export SOME_IP_VARIABLE=1.2.3.4 my application needs IP parameters so I added args in launch.json as below
... "configuration":[ ... "args":[ "${env:SOME_IP_VARIABLE} ] ... When I print argv value in the application, this prints nothing.
Did I miss something?
SOME_IP_VARIABLEdoesn't exist after your task finishes executing. What are you trying to achieve?