mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:57:44 +00:00
Ladybird: Add command line flag to wait for debugger in WebContent
This commit is contained in:
parent
b4a8d2a19f
commit
1e68e484cc
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