mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-05 09:52:54 +00:00
Ladybird: Add command line flag to wait for debugger in WebContent
This commit is contained in:
parent
b4a8d2a19f
commit
1e68e484cc
Notes:
sideshowbarker
2024-07-17 18:46:30 +09:00
Author: https://github.com/ADKaster
Commit: 1e68e484cc
Pull-request: https://github.com/SerenityOS/serenity/pull/22369
5 changed files with 21 additions and 0 deletions
|
@ -55,6 +55,8 @@ ErrorOr<NonnullRefPtr<WebView::WebContentClient>> launch_web_content_process(
|
|||
arguments.append("--use-lagom-networking"sv);
|
||||
if (web_content_options.enable_gpu_painting == Ladybird::EnableGPUPainting::Yes)
|
||||
arguments.append("--use-gpu-painting"sv);
|
||||
if (web_content_options.wait_for_debugger == Ladybird::WaitForDebugger::Yes)
|
||||
arguments.append("--wait-for-debugger"sv);
|
||||
|
||||
result = Core::System::exec(arguments[0], arguments.span(), Core::System::SearchInPath::Yes);
|
||||
if (!result.is_error())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue