Files
llvm-project/lldb/test/Shell/DAP/TestClientLauncher.test
Jonas Devlieghere 1621486d67 [lldb-dap] Add support for launching supported clients (#165941)
Support launching a supported DAP client using the lldb-dap binary.
Currently, only the official LLDB-DAP Visual Studio Code extension is
supported. It uses the VS Code launch URL format.

Here's an example:

```
lldb-dap --client vscode -- /path/to/exe foo bar
```

This will open the following URL with `code --open-url`:

```
vscode://llvm-vs-code-extensions.lldb-dap/start?program=/path/to/exe&args=foo&arg=bar
```

Fixes #125777
2025-11-03 13:37:39 -08:00

3 lines
151 B
Plaintext

# RUN: lldb-dap --client vscode-url -- /path/to/foo | FileCheck %s
# CHECK: vscode://llvm-vs-code-extensions.lldb-dap/start?program=%2Fpath%2Fto%2Ffoo