Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

debugpy launch-with-arguments: there can be only one #465

Open
dmaziuk opened this issue Sep 27, 2024 · 2 comments
Open

debugpy launch-with-arguments: there can be only one #465

dmaziuk opened this issue Sep 27, 2024 · 2 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug triage-needed Needs assignment to the proper sub-team

Comments

@dmaziuk
Copy link

dmaziuk commented Sep 27, 2024

Version: 1.93.1
OS: Windows 11

Similar to #233 only different: when passing more than a single command line arg via "Command Line Arguments" prompt, the whole string is wrapped in quotes and passed as a single arg. E.g. passing "-v" works, passing "-l logfile.log" breaks argparse or anything that expects those in separate elements in sys.argv

@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Sep 27, 2024
@eleanorjboyd
Copy link
Member

yes understood this seems to be an ongoing issue. In the meantime does doing "-l=logfile.log" help at all? Or no given you are attempting multiple arguments?

@eleanorjboyd eleanorjboyd added the bug Issue identified by VS Code Team member as probable bug label Oct 1, 2024
@dmaziuk
Copy link
Author

dmaziuk commented Oct 1, 2024

I usually need multiple arguments, yes.

It also won't work with combinations of switches e.g. -a -b and/or positional args one two three etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug triage-needed Needs assignment to the proper sub-team
Projects
None yet
Development

No branches or pull requests

2 participants