Ok, now I am in Visual Studio wrote a script that responds to two commands:
build build
~ Builds the code
build run
~ Runs the code
How do I set these as a workflow so they run when I press shortcuts
I don't want to setup key bindings, it's like integrate into build run steps built into pressing f5 or run buttons on VS Code
I need to use launch.json
to integrate into building and running, but I created custom scripts so that I can read sensitive information from a file, that I will never open that would expose the secrets. And setup environment variables from the contents of the secret file.
Ok wait a second, so I have to set an environment variable from within the script, and that stays set when I launch the program via launch.json