This repository has been archived on 2022-12-23. You can view files and clone it, but cannot push or open issues or pull requests.
fuck-premake-old2/website/docs/debugargs.md
2021-03-12 22:10:24 +01:00

29 lines
766 B
Markdown

Specifies a list of arguments to pass to the application when run under the debugger.
```lua
debugargs { "args" }
```
Note that this setting is not implemented for Xcode 3, which requires a per-user configuration file in order to make it work.
In Visual Studio, this file can be overridden by a per-user configuration file (such as `ProjectName.vcproj.MYDOMAIN-MYUSERNAME.user`). Removing this file (which is done by Premake's clean action) will restore the default settings.
### Parameters ###
`args` is a Lua list of arguments to provide to the executable while debugging.
### Applies To ###
Project configurations.
### Availability ###
Premake 4.4 or later.
### Examples ###
```lua
configuration "Debug"
debugargs { "--append", "somefile.txt" }
```