Skip to content

[Feature] When debugging a target, use debugger.workingDirectory from the CMake file API #4595

Closed

Description

Request Overview

The CMake File API has a member debugger.workingDirectory. It would be nice if this was honoured by CMake Tools when debugging a target through CMake Tools.

Currently I'm manually setting cwd in the cmake.debugConfig setting to work around this.

It would also be nice if assets/variables.json were updated to include new target properties, like DEBUGGER_WORKING_DIRECTORY (and its related CMAKE_ variable).

Additional Information

Historically related: #1397.

Metadata

Metadata

Labels

enhancementan enhancement to the product that is either not present or an improvement to an existing feature

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions