First time here? Check out the FAQ!

Revision history  [back]

Running batch file on Windows when start debugging

I'm running on Win 10 with the latest Wing Pro in a virtualenv. After the venv is activated, I'd like to set some environment variables (username and password) that the script can read using os.getenv. Looking through the help files I get tantalizingly close, this looks good: "Build Command sets a command that will be executed before starting debug with this launch configuration". Unfortunately, I can't find where this is in the menus? Can this be done?

Running batch file on Windows when start debugging

I'm running on Win 10 with the latest Wing Pro in a virtualenv. After the venv is activated, I'd like to set some environment variables (username and password) that the script can read using os.getenv. Looking through the help files I get tantalizingly close, this looks good: "Build Command sets a command that will be executed before starting debug with this launch configuration". Unfortunately, I can't find where this is in the menus? Can this be done?