Currently, the scripts using Universal Automation Variables are hard to test and debug outside of Universal Automation, because the variables are injected into the script scope from externally while starting the script. If I develop and debug them within VS Code, I call the script and the variables are empty.
Mapping Variable to Parameter
I suggest add option to map the universal variable to a script parameter. So if we have a string parameter called $TargetServer, the same Universal Automation Variable named "TargetServer" should be mapped to the parameter.
Debugging Issue outside of Universal Automation
Currently, the scripts using Universal Automation Variables are hard to test and debug outside of Universal Automation, because the variables are injected into the script scope from externally while starting the script. If I develop and debug them within VS Code, I call the script and the variables are empty.
Mapping Variable to Parameter
I suggest add option to map the universal variable to a script parameter. So if we have a string parameter called $TargetServer, the same Universal Automation Variable named "TargetServer" should be mapped to the parameter.