Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
Former Member
3 years agoInject variables into runtime without the prefix of op run --
Hi All,
While injecting the our secrets with python-vscode, is there any option to not use op run command, I am debugging the code and Is there any option to use the debugger already exists. I am I...
Former Member
3 years agoHey @Balaraju,
Thank you for reaching out to us!
if I understand your question correctly, you are trying to inject 1Password secrets into your Python script while using the default runner of the VS Code Python plugin?
If so, I think an extension such as "Code Runner", where you can override the entrypoint of each of the custom VSCode executors could help: e.g. in the Code Runner's settings, go to "Executor Map" and set the entrypoint to "op run -- python -u" instead of the default one.
Hope this helps, let us know if we can help further, here!
Best,
Horia