Skip to content

Fix git push error for protected CLA branch #1545

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Sep 5, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion docs/linux/cmake-linux-project.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,18 @@ To provide IntelliSense support for headers on remote Linux systems, Visual Stud

To debug your code on the specified debug target system, set a breakpoint, select the CMake target as the startup item in the toolbar menu next to the project setting, and choose **⏵ Start** on the toolbar, or press F5.

To customize your program’s command line arguments, press the **Switch Targets** button at the top of **Solution Explorer** and then choose **Targets View**. Then right-click on the target and select **Debug and Launch Settings**. This opens or creates a launch.vs.json configuration file that contains information about your program. To specify additional arguments, add them in the `args` JSON array. For more information, see [Open Folder projects for C++](../build/open-folder-projects-cpp.md) and [Configure CMake debugging sessions](../build/configure-cmake-debugging-sessions.md).
To customize your program’s command line arguments, press the **Switch Targets** button at the top of **Solution Explorer** and then choose **Targets View**. Then right-click on the target and select **Debug and Launch Settings**. This opens or creates a launch.vs.json configuration file that contains information about your program. To specify the location for source files, add a **sourceFileMap** property to the file, as shown in this example:

```json
"MIMode": "gdb",
"externalConsole": true,
"sourceFileMap": {
"c/Users/USER/source/repos/CMAKEPROJECTNAME": "C:\\Users\\USER\\source\\repos\\CMAKEPROJECTNAME"
},
"remoteMachineName": "${debugInfo.remoteMachineName}",
```

To specify additional arguments, add them in the `args` JSON array. For more information, see [Open Folder projects for C++](../build/open-folder-projects-cpp.md) and [Configure CMake debugging sessions](../build/configure-cmake-debugging-sessions.md).

## <a name="configure_cmake_linux"></a> Configure CMake settings for Linux

Expand Down
7 changes: 2 additions & 5 deletions docs/linux/connect-to-your-remote-linux-computer.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Connect to your target Linux system in Visual Studio"
description: "How to connect to a remote Linux machine or WSL from inside a Visual Studio C++ project."
ms.date: "06/19/2019"
ms.date: "09/04/2019"
ms.assetid: 5eeaa683-4e63-4c46-99ef-2d5f294040d4
---

Expand Down Expand Up @@ -104,7 +104,4 @@ To configure your project for WSL, see [Configure a Linux project](configure-a-l
[Configure a Linux project](configure-a-linux-project.md)<br />
[Configure a Linux CMake project](cmake-linux-project.md)<br />
[Deploy, run and debug your Linux project](deploy-run-and-debug-your-linux-project.md)<br />




[Configure CMake debugging sessions](../build/configure-cmake-debugging-sessions.md)