I want to use the VSCode debugger and want to set the environment variables before launching the app. The configuration in the Launch folder looks something like this.
{
"name": "Launch on iOS",
"type": "nativescript",
"request": "launch",
"platform": "ios",
"appRoot": "${workspaceRoot}",
"sourceMaps": true,
"watch": true,
"environment": [
{
"BUILD_ENV": "local"
}
]
}
This doesn't seem to work though. I am using a Mac.