code-debug
code-debug copied to clipboard
Debugging in WSL raises popup "Unable to open ..." for built in c++ files
When I'm working in WSL (Win10+Ubuntu 16.04) and there is an error, debugger always pops window with message like:
Unable to open 'basic_string.tcc': Unable to read file (Error: File not found (vscode-remote://wsl+ubuntu-16.04/build/gcc-5-uaBN8O/gcc-5-5.4.0/build/x86_64-linux-gnu/libstdc++-v3/include/bits/basic_string.tcc)).
How can I map paths to specify where to look for gcc sources?
there is currently no way to specify map paths yet. It might be possible with the C/C++ extension though. And by the looks of it it might probably be possible to install/create some extension providing support for WSL paths in vscode too which would make code-debug also find the files.