vscode-docs
vscode-docs copied to clipboard
[Improvement] C/C++: Configure debug settings -> more dynamic sourceFileMap
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 thanks yep that is better. I'll make this change today.
Fixed with https://github.com/Microsoft/vscode-docs/commit/eb1c5b8a6d317fbe7d236293242102aab0e2c554