From 4d948fe03ee13e7b015398c6156e385a937d1b97 Mon Sep 17 00:00:00 2001 From: Pierson Lee Date: Thu, 7 Dec 2017 23:25:11 -0800 Subject: [PATCH] Add sourceFileMap instructions --- launch.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launch.md b/launch.md index ab49131c4e..8287cf31fe 100644 --- a/launch.md +++ b/launch.md @@ -151,4 +151,4 @@ _Note: core dump debuging is not supported with MinGw._ **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 launch.json file is created. - +**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:\\`)