[Lldb-commits] [lldb] [lldb-dap] Support vscode launch URLs (PR #125843)

Adrian Vogelsgesang via lldb-commits lldb-commits at lists.llvm.org
Wed Mar 12 05:16:19 PDT 2025


================
@@ -0,0 +1,37 @@
+import * as vscode from "vscode";
+
+export class LaunchUriHandler implements vscode.UriHandler {
+    async handleUri(uri: vscode.Uri) {
+        try {
+            const params = new URLSearchParams(uri.query);
+            if (uri.path == '/launch/config') {
----------------
vogelsgesang wrote:

I decided to go with a hybrid solution: Support both `config` and separate URL parameters. The most commonly used arguments are supported via separate URL params. All other parameters can still be provided via the `config` parameter. That way, we don't necessarily need to keep the lists in sync

https://github.com/llvm/llvm-project/pull/125843


More information about the lldb-commits mailing list