Docs: Add info about --enable-idl-tracing flag

This commit is contained in:
matan-h 2024-12-16 19:04:05 +02:00 committed by Sam Atkins
parent 51102254b5
commit 6fc62c1538
Notes: github-actions[bot] 2025-01-15 13:26:34 +00:00

View file

@ -66,3 +66,11 @@ You can take your reduced test case and post it online at a site such as the fol
That will give you a URL which you can then include in the issue you raise for the problem. That will give you a URL which you can then include in the issue you raise for the problem.
*[Credits: The “How you can write a reduced test case” details above are largely taken from https://webkit.org/test-case-reduction/.]* *[Credits: The “How you can write a reduced test case” details above are largely taken from https://webkit.org/test-case-reduction/.]*
## Debugging
When investigating a bug, it can be helpful to use the `--enable-idl-tracing` command-line flag when running Ladybird. This will output detailed information about the calls being made to the browser's internal interfaces, which can help pinpoint where a problem is occurring.
```bash
./Meta/ladybird.sh run ladybird --enable-idl-tracing
```