I am debugging my React Native expo application with the following launch.json
configuration in vscode:
{
"name": "Debug in Exponent",
"cwd": "${workspaceFolder}",
"type": "reactnative",
"request": "launch",
"platform": "exponent",
"expoHostType": "lan",
}
This is done using the React Native Tools.
However, I have a dynamic configuration (app.config.js
) that sets up quite some environment variables etc, which is ignored by the debug configuration (which uses app.json
directly). How can I setup my launch.json
to use the app.config.js
instead of app.json
?