# Setting VS\_DEBUGGER\_ENVIRONMENT for Ninja Multi-Config

**URL:** <https://discourse.cmake.org/t/setting-vs-debugger-environment-for-ninja-multi-config/9831>\
**Category:** Code\
**Created:** [January 11, 2024, 7:26pm UTC](https://discourse.cmake.org/t/setting-vs-debugger-environment-for-ninja-multi-config/9831 "2024-01-11T19:26:54Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![bjornblissing](https://discourse.cmake.org/user_avatar/discourse.cmake.org/bjornblissing/32/896_2.png) [@bjornblissing](https://discourse.cmake.org/u/bjornblissing)\
**Post date:** [January 16, 2024, 12:26pm UTC](https://discourse.cmake.org/t/setting-vs-debugger-environment-for-ninja-multi-config/9831/3 "2024-01-16T12:26:26Z")

</div>

It can be set using the `env` keyword in a `launch.vs.json` file. However, there do _not_ seem to be a way to use any variables from the the CMake Configuration phase. Thus forcing you to use hardcoded environments paths in your `launch.vs.json` file.

See: [launch.vs.json](https://discourse.cmake.org/t/launch-vs-json/5413/1)

---

_[View the full topic](https://discourse.cmake.org/t/setting-vs-debugger-environment-for-ninja-multi-config/9831)._
