vscode-docs icon indicating copy to clipboard operation
vscode-docs copied to clipboard

[Improvement] C/C++: Configure debug settings -> more dynamic sourceFileMap

Open n3rd4i opened this issue 7 years ago • 2 comments

The C/C++ docs for setting up debugging could be improved to change: Original:

"sourceFileMap": {
	"/mnt/c": "c:\\",
	"/usr": "C:\\Users\\<path to WSL directory which you will place here later>"
}

Improved:

"sourceFileMap": {
	"/mnt/c": "${env:systemdrive}/",
	"/usr": "C:\\Users\\<path to WSL directory which you will place here later>"
}

n3rd4i avatar Apr 21 '19 20:04 n3rd4i

@n3rd4i thanks yep that is better. I'll make this change today.

mikeblome avatar Apr 22 '19 17:04 mikeblome

Fixed with https://github.com/Microsoft/vscode-docs/commit/eb1c5b8a6d317fbe7d236293242102aab0e2c554

gregvanl avatar Apr 22 '19 18:04 gregvanl