As of 2025, none of these above recommended solution work for me on Visual Studio 2022. When I click the properties of the project, it is empty. When I try to find it on menu, it does not exist on menu anymore. However, they do allow you to edit launch.vs.json by clicking Debug -> Debug and Launch settings for xxx, which allows you to pass an args parameter array. It works like a charm for me.