Skip to content

Commit bbc4b0d

Browse files
TylerMSFTTylerMSFT
authored andcommitted
acrolinx
1 parent cb3f12c commit bbc4b0d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/build/launch-vs-schema-reference-cpp.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ helpviewer_keywords: ["launch.vs.json file [C++]"]
66
---
77
# launch.vs.json schema reference (C++)
88

9-
Starting in Visual Studio 2017, you can open code from nearly any type of directory-based project into Visual Studio without the need for a solution or project file. When there is no project or solution file, you can specify custom build tasks and launch parameters through JSON configuration files. This article describes the `launch.vs.json` file, which specifies debugging parameters. See [Develop code in Visual Studio without projects or solutions](https://docs.microsoft.com/visualstudio/ide/develop-code-in-visual-studio-without-projects-or-solutions) for more information about the "Open Folder" feature.
9+
Starting in Visual Studio 2017, you can open code from nearly any type of directory-based project into Visual Studio without the need for a solution or project file. When there's no project or solution file, you can specify custom build tasks and launch parameters through JSON configuration files. This article describes the `launch.vs.json` file, which specifies debugging parameters. See [Develop code in Visual Studio without projects or solutions](https://docs.microsoft.com/visualstudio/ide/develop-code-in-visual-studio-without-projects-or-solutions) for more information about the "Open Folder" feature.
1010

1111
To create the file, right-click on an executable file in **Solution Explorer** and choose **Debug and Launch Settings**. Choose the option that most closely matches your project and then use the following properties to modify the configuration as needed. For more information on debugging CMake projects, see [Configure CMake debugging sessions](./configure-cmake-debugging-sessions.md).
1212

@@ -60,10 +60,10 @@ externalConsole|boolean|If true, a console is launched for the debuggee. If **`f
6060

6161
## debugInfo macros
6262

63-
The following macros provide information about the debugging environment. They are useful for customizing the launch of your app for debugging.
63+
The following macros provide information about the debugging environment. They're useful for customizing the launch of your app for debugging.
6464

65-
|Macro|Description|Example|
66-
|-|-|-|
65+
|Macro |Description |Example |
66+
|---|---|---|
6767
| `addressSanitizerRuntimeFlags` | Runtime flags used to customize behavior of the address sanitizer. Used to set the environment variable `"ASAN_OPTIONS"`. | `"env": {"ASAN_OPTIONS": "${addressSanitizerRuntimeFlags}:anotherFlag=true"`} |
6868
| `defaultWorkingDirectory` | Set to the directory part of `"fullTargetPath"`. If the CMake variable `VS_DEBUGGER_WORKING_DIRECTORY` is defined, then `defaultWorkingDirectory` is set to that value, instead. | `"cwd":"${debugInfo.defaultWorkingDirectory}"` |
6969
| `fullTargetPath` | The full path to the binary being debugged. | `"program": "${debugInfo.fullTargetPath}"` |
@@ -73,7 +73,7 @@ The following macros provide information about the debugging environment. They a
7373
| `remoteWorkspaceRoot` | Linux path to the remote copy of the workspace. | Specify file locations on the remote machine. For example: `"args": ["${debugInfo.remoteWorkspaceRoot}/Data/MyInputFile.dat"]` |
7474
|`resolvedRemoteMachineName` | The name of the target remote machine. | `"targetMachine"` value in a deployment directive | |
7575
| `shellexecPath`| The path to the shellexec program that Visual Studio is using to manage the remote machine connection. | See pipeTransport example below |
76-
| `tty` | The device that gdb is to redirect input and output to for the program being debugged. Used as a parameter to gdb (-tty). | See pipeTransport example below. |
76+
| `tty` | gdb will redirect input and output to this device for the program being debugged. Used as a parameter to gdb (-tty). | See pipeTransport example below. |
7777
| `windowsSubsystemPath` | The full path to the Windows Subsystem for Linux instance. | |
7878

7979
The pipeTransport example below shows how to use some of the `debugInfo` macros defined above:

0 commit comments

Comments
 (0)