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

Solution Folder mode with command line parameters #10

Open
fdncred opened this issue Oct 19, 2022 · 2 comments
Open

Solution Folder mode with command line parameters #10

fdncred opened this issue Oct 19, 2022 · 2 comments

Comments

@fdncred
Copy link

fdncred commented Oct 19, 2022

With the moving to the Open Folder mode vs Solution mode, how do you set parameters and such and your command line? I understand how to select a debug target and such but I'm not seeing how to set command line parameters.

@fdncred fdncred changed the title Solution Folder mode Solution Folder mode with command line parameters Oct 19, 2022
@ericsink
Copy link
Contributor

We haven't figured that out yet.

Open Folder mode has some builtin support for this:

https://learn.microsoft.com/en-us/visualstudio/ide/customize-build-and-debug-tasks-in-visual-studio?view=vs-2022

but I'm not exactly sure yet how the stuff in that launch.vs.json file corresponds to the way we deal with individual Cargo targets. It might be possible to make this work now by editing that file -- not sure. Even if it is, we will want to expose a friendlier way of doing this in the UI.

ericsink added a commit that referenced this issue Oct 19, 2022
@ericsink
Copy link
Contributor

ericsink commented Oct 19, 2022

Okay, so the launch.vs.json feature isn't very friendly, but it seems to work. I added /examples/debug_launch_args to show how to use it.

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

2 participants