I am setting an environment variable in the launch.json file (here is the content:
{ "version": "0.2.0",
"configurations": [
{
"type": "bashdb",
"request": "launch",
"name": "Bash-Debug (hardcoded script name)",
"cwd": "${workspaceFolder}",
"program": "${workspaceFolder}/textdc.sh",
"env": {"TEXT_DC_DIR":"/nlu/users/sharon_snyder/tmp"},
"terminalKind": "integrated"
}
]
}
I am finding in my bash script that the variable TEXT_DC_DIR is surrounded by single quotes.
echo ${TEXT_DC_DIR}
I can remove them using eval, but was hoping there was a way that I could avoid having the single quotes at all since I did not specify them in the launch.json.
Overall, this has been really helpful to use! Thanks for creating it
I am setting an environment variable in the launch.json file (here is the content:
I can remove them using eval, but was hoping there was a way that I could avoid having the single quotes at all since I did not specify them in the launch.json.
Overall, this has been really helpful to use! Thanks for creating it