# DEBUGGER_WORKING_DIRECTORY

Added in version 4.0.

Sets the local debugger working directory for targets, specifically the process launched by the debugger.

The property value may use `generator expressions`. This property is initialized by the value of the variable `CMAKE_DEBUGGER_WORKING_DIRECTORY` if it is set when a target is created.

If the `VS_DEBUGGER_WORKING_DIRECTORY` property is also set, it will take precedence over `DEBUGGER_WORKING_DIRECTORY` when using one of the Visual Studio Generators.

Similarly, if `XCODE_SCHEME_WORKING_DIRECTORY` is set, it will override `DEBUGGER_WORKING_DIRECTORY` when using the `Xcode` generator.