Can I save a few command arguments for debugging VS2012

Summary Is there an easy way to save the alternative command arguments used by the Visual Studio debugger?

More details

Visual Studio has the ability to install the Command Argument , which are used by the debugger. For example, in the screenshot shown here, I set them to FOO BAR . Sometimes when debugging a project, I want to switch arguments to test different input sets. And often the arguments are much longer than just FOO BAR. It would be nice if there was a way to save the arguments I typed and quickly switch between them. Ideally, you could also change the working directory at the same time. But I have not yet found a way to do this, so I ask here. I am using Visual Studio Professional 2012.

enter image description here

+4
source share
1 answer

You can simply create a new configuration for this project. I see that your current active configuration is Debug (upper left corner of the project settings dialog). You can create new configuration (s) to be based on this, and name them Debug-Test1, Debug-Test2, etc. After that, you will have the choice to switch between these configurations in the VS Debug Toolbar,

+3
source

Source: https://habr.com/ru/post/1496644/


All Articles