You mean parameter/arguments to your app? "project1 -v - foo"?
With gdbserver the IDE never starts your project. So it can not pass on any args.
IIRC, when you do
gdbserver host port project1
gdbserver will already start your app, and pause it on the first instruction. So at the time the IDE gets to connect to it, it is already to late.