First time here? Check out the FAQ!
1

Debug Arguments - Prevent Saving [closed]

Is there a way to clear, and no longer save, debug arguments?

When I'm writing things I have my arguments pass the password to the script and just realized that Wing has been saving the arguments in the analysis-store-21.sqllite file for my user. I can't seem to find a setting to prevent this or clear it barring maybe deleting the file every time.

anonymous user
Anonymous
asked 2020-01-30 23:03:24 -0500
Wingware Support's avatar
4k
Wingware Support
updated 2020-01-31 08:51:03 -0500
edit flag offensive 0 remove flag reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by pytango
close date 2020-02-01 00:59:14.841561

Comments

add a comment see more comments

1 Answer

1

These are stored in the File Properties for the file you're debugging, in the .wpu branch of the project file (or .wpr if you're using Wing Personal). You can right click on the file and select Properties and then remove the args under the Debug/Execute tab. Or open the project file from the File menu (not Project menu) in Wing while Wing doesn't have that project open and just search/replace to remove the password.

If you use Named Entry Points, those also can contain run args, but they are also stored in the project so would be found in the same way if you use an editor to remove them.

Wingware Support's avatar
4k
Wingware Support
answered 2020-01-31 08:50:56 -0500
edit flag offensive 0 remove flag delete link

Comments

Okay so there's no way to permanently not have it save them? At least this let's me clear them, thank you very much for your help, I found and was able to clear them.

pytango's avatar pytango (2020-02-01 00:58:33 -0500) edit

No there isn't. It's probably best not to set the password like this. Another approach would be to set an environment variable on the command line, start Wing from that command line so it inherits the env, and use ${MYPASSWORD} form of environment reference in the File Properties or Named Entry Point so the password gets substituted in.

Wingware Support's avatar Wingware Support (2020-02-01 08:12:42 -0500) edit
add a comment see more comments