-
Notifications
You must be signed in to change notification settings - Fork 21
debugargs
mba105 edited this page Sep 24, 2014
·
2 revisions
Home > [Scripting Reference](Scripting Reference) > debugargs
The debugargs function specifies a list of arguments to pass to the application when run under the debugger.
#!lua
debugargs { "args" }
Note that this settings 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.
Added in Premake 4.4.
Solutions, projects, and configurations.
args is a Lua list of arguments to provide to the executable while debugging.
#!lua
configuration "Debug"
debugargs { "--append", "somefile.txt" }