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

[solved]in the file launch.json , ${command:pickArgs} is collecting all your args into a single string #1

Open
OccupyMars2025 opened this issue Sep 6, 2024 · 0 comments

Comments

@OccupyMars2025
Copy link
Owner

OccupyMars2025 commented Sep 6, 2024

In cpu-intro, when I debug the python file, I have difficulty in entering the long command line arguments, like the following:

-l 3:0,5:100,5:100,5:100 -S SWITCH_ON_IO -c -p -I IO_RUN_LATER

the vscode treats all behind -l as a single value


solution: microsoft/vscode-python#23003 (comment)

In the launch.json file, change from "args": ["${command:pickArgs}"], to "args": "${command:pickArgs}", , just remove the square bracket

@OccupyMars2025 OccupyMars2025 changed the title in the file launch.json , ${command:pickArgs} is collecting all your args into a single string [solved]in the file launch.json , ${command:pickArgs} is collecting all your args into a single string Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant