================
@@ -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:
> Should we shorten the path to /launch?
Shortened to `/start`, since we support both `/start?request=launch` and
`/start?request=attach` with this handler
> Or we could take the search params as keys into the launch config like:
Are we willing to keep the list of string / integer keys up-to-date in the long
term in the `LaunchUriHandler`?
Happy to adjust the PR, if we think this is worth the long-term maintenance.
CC @walter-erquinigo
https://github.com/llvm/llvm-project/pull/125843
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits