Skip to content

Commit 1834e13

Browse files
authored
Update launch.md
Fix description
1 parent 4d948fe commit 1834e13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

launch.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,4 +151,4 @@ _Note: core dump debuging is not supported with MinGw._
151151
**type**: Indicates the underlying debugger being used. Must be `cppvsdbg` when using the Visual Studio Windows debugger, and `cppdbg` when using GDB or LLDB. This is automatically set to the correct value when the
152152
launch.json file is created.
153153

154-
**sourceFileMap**: This allows mapping of the compile time paths for source to local source locations. It is an array of key/value pairs and will resolve the first string-matched path. (example: `"sourceFileMap": [ "/mnt/c": "c:\\" ]` will map any path returned by the debugger that begins with `/mnt/c` and convert it to `c:\\`)
154+
**sourceFileMap**: This allows mapping of the compile time paths for source to local source locations. It is an object of key/value pairs and will resolve the first string-matched path. (example: `"sourceFileMap": { "/mnt/c": "c:\\" }` will map any path returned by the debugger that begins with `/mnt/c` and convert it to `c:\\`. You can have multiple mappings in the object but they will be handled in the order provided.)

0 commit comments

Comments
 (0)