# \[Visual Studio\] Remote debugging

**URL:** https://discourse.cmake.org/t/visual-studio-remote-debugging/1678
**Category:** Usage
**Tags:** gen:vs
**Created:** [August 6, 2020, 9:12pm UTC](https://discourse.cmake.org/t/visual-studio-remote-debugging/1678 "2020-08-06T21:12:01Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![YMba9g8j9CJp0wLoQf5y](https://discourse.cmake.org/user_avatar/discourse.cmake.org/ymba9g8j9cjp0wloqf5y/32/1244_2.png) [@YMba9g8j9CJp0wLoQf5y](https://discourse.cmake.org/u/YMba9g8j9CJp0wLoQf5y)
#### Post date: [August 6, 2020, 9:12pm UTC](https://discourse.cmake.org/t/visual-studio-remote-debugging/1678/1 "2020-08-06T21:12:01Z")

</div>

Is it possible to modify the visual studio remote debugging options with cmake?

 ![image](https://discourse.cmake.org/uploads/default/original/1X/a0413dbb328bc75ba76164556183378553a48121.png)

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.cmake.org/u/ben.boeckel)
#### Post date: [November 11, 2020, 9:14pm UTC](https://discourse.cmake.org/t/visual-studio-remote-debugging/1678/2 "2020-11-11T21:14:14Z")

</div>

I think there is some way to control various VS properties, but I’m not seeing it right now.

Cc: @brad.king

---

<div class="post-metadata">

### Author: ![brad.king](https://discourse.cmake.org/user_avatar/discourse.cmake.org/brad.king/32/11_2.png) [@brad.king](https://discourse.cmake.org/u/brad.king)
#### Post date: [November 12, 2020, 1:23pm UTC](https://discourse.cmake.org/t/visual-studio-remote-debugging/1678/3 "2020-11-12T13:23:58Z")

</div>

I don’t think we have a way to set these. The closest is [DEPLOYMENT\_REMOTE\_DIRECTORY](https://cmake.org/cmake/help/latest/prop_tgt/DEPLOYMENT_REMOTE_DIRECTORY.html) but it is documented only for WinCE and I think implemented only for VS 2008.

The [CMAKE\_VS\_GLOBALS](https://cmake.org/cmake/help/latest/variable/CMAKE_VS_GLOBALS.html) variable can be used to set arbitrary properties in the globals section of a `.vcxproj` file.
