Ask Your Question
1

Debug Arguments - Prevent Saving [closed]

asked 2020-01-30 23:03:24 -0500

anonymous user

Anonymous

updated 2020-01-31 08:51:03 -0500

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.

edit retag flag offensive 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

1 Answer

Sort by » oldest newest most voted
1

answered 2020-01-31 08:50:56 -0500

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.

edit flag offensive delete link more

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 gravatar imagepytango ( 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 gravatar imageWingware Support ( 2020-02-01 08:12:42 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2020-01-30 23:03:24 -0500

Seen: 102 times

Last updated: Jan 31