1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 17:47:44 +00:00

Ladybird: Add command line flag to wait for debugger in WebContent

This commit is contained in:
Andrew Kaster 2023-12-20 09:52:17 -07:00 committed by Andreas Kling
parent b4a8d2a19f
commit 1e68e484cc
5 changed files with 21 additions and 0 deletions

View file

@ -28,11 +28,17 @@ enum class UseLagomNetworking {
Yes
};
enum class WaitForDebugger {
No,
Yes
};
struct WebContentOptions {
EnableCallgrindProfiling enable_callgrind_profiling { EnableCallgrindProfiling::No };
EnableGPUPainting enable_gpu_painting { EnableGPUPainting::No };
IsLayoutTestMode is_layout_test_mode { IsLayoutTestMode::No };
UseLagomNetworking use_lagom_networking { UseLagomNetworking::No };
WaitForDebugger wait_for_debugger { WaitForDebugger::No };
};
}