Author: Henrique Bucher Date: 2022-10-12T19:29:36-05:00 New Revision: 5a52c5c42669b3e547c9ca69b59b560d0268b85c
URL: https://github.com/llvm/llvm-project/commit/5a52c5c42669b3e547c9ca69b59b560d0268b85c DIFF: https://github.com/llvm/llvm-project/commit/5a52c5c42669b3e547c9ca69b59b560d0268b85c.diff LOG: Summary: This documentation patch adds information to allow remote users to also use the plugin as it will be invisible to them using the current instructions. It solves issue #58252. This documentation patch adds information to allow remote users to also use the plugin as it will be invisible to them using the current instructions. It solves issue #58252. Reviewed By: JDevlieghere Differential Revision: https://reviews.llvm.org/D135577 Added: Modified: lldb/tools/lldb-vscode/README.md Removed: ################################################################################ diff --git a/lldb/tools/lldb-vscode/README.md b/lldb/tools/lldb-vscode/README.md index 70ca245f85b92..f82293daa5128 100644 --- a/lldb/tools/lldb-vscode/README.md +++ b/lldb/tools/lldb-vscode/README.md @@ -36,6 +36,12 @@ $ cp /path/to/a/built/lldb-vscode . $ cp /path/to/a/built/liblldb.so . ``` +It is important to note that the directory `~/.vscode/extensions` works for users logged in locally to the machine. If you are remoting into the box using Visual Studio Code's Remote plugins (SSH, WSL, Docker) it will look for extensions on `~/.vscode-server/extensions` only and you will not see your just installed lldb-vscode plug-in. If you want this plugin to be visible to remoting users, you will need to either repeat the process above for the `~/.vscode-server` folder or create a symbolic link from it to `~/.vscode/extensions`: + +``` +$ cd ~/.vscode-server/extensions +$ ln -s ~/.vscode/extensions/llvm-org.lldb-vscode-0.1.0 llvm-org.lldb-vscode-0.1.0 +``` If you want to make a stand alone plug-in that you can send to others on macOS systems: @@ -61,6 +67,8 @@ $ ln -s /path/to/a/built/lldb-vscode This is handy if you want to debug and develope the `lldb-vscode` executable when adding features or fixing bugs. + + # Configurations Launching to attaching require you to create a [launch configuration](https://code.visualstudio.com/Docs/editor/debugging#_launch-configurations). This file _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits