30 lines
739 B
Markdown
30 lines
739 B
Markdown
|
Sets the working directory for the integrated debugger.
|
||
|
|
||
|
```lua
|
||
|
debugdir "path"
|
||
|
```
|
||
|
|
||
|
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.
|
||
|
|
||
|
### Parameters ###
|
||
|
|
||
|
`path` is the path to the working directory, relative to the currently executing script file.
|
||
|
|
||
|
### Applies To ###
|
||
|
|
||
|
Project configurations.
|
||
|
|
||
|
### Availability ###
|
||
|
|
||
|
Premake 4.4 or later.
|
||
|
|
||
|
|
||
|
### Examples ###
|
||
|
|
||
|
```lua
|
||
|
filter { "configurations:Debug" }
|
||
|
debugdir "bin/debug"
|
||
|
```
|