It seems like the best way is to use arguments and pass them by using a Debug-Configuration
and a Run-Configuration
with the right values.
In Eclipse
you have the possibility to add a Configuration
to the Run list and the Debug list.
This can be done by going to the common
tab inside the configuration
s and check the Debug
and/or Run
checkbox inside the "Display in favorite menu" section.
You can also edit the favorite list (add/remove/move entries) by clicking "Organize Favorites".
Note, that it does not prevent you from runing the Debug-Configuration
or debuging the Run-Configuration
.