command line arguments

How can I set command line arguments for my game when testing it in the editor? I know there is Editor Preferences → Level Editor - Play → Play In Standalone Game → Additional Launch Parameters, which looks promising, but that only works when playing in standalone mode, meaning it’s in a new process, and debugging in Visual Studio or a similar IDE isn’t easy in this mode (or is there a simple way to immediately attach a debugger to that new process?)