LaunchOption READMEThis extension provides configurable options you can use in your launch configs. The basic idea is that in many development scenarios, we want to run the app we are working on in numerous ways. We have a number of command line parameters and a number of build types. If we want to be able to launch each of them, we have to add a launch config for each combination :( This is the problem this extension tries to solve. This extension adds a panel named "LAUNCH OPTIONS" to the "Run" view, from which you can switch the different options configured settings.json. The selected value can then be used from your launch configs. ExampleThe launch options can be configured this way in settings.json:
Option value could be not only a string but an object or an array. Each option can have a filter and the option will be visible only if the filter matched to all other options. Here debug build type is available only for platform x86:
These settings are now selectable on the "Run view": The selected options are automatically saved in settings.json like:
And therefore can be used in a launch config like:
Enjoy! |