From 6fc62c1538daea415732d44ac3648352de30da9c Mon Sep 17 00:00:00 2001 From: matan-h Date: Mon, 16 Dec 2024 19:04:05 +0200 Subject: [PATCH] Docs: Add info about --enable-idl-tracing flag --- ISSUES.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ISSUES.md b/ISSUES.md index 2c85d32ab9a..4c93e328456 100644 --- a/ISSUES.md +++ b/ISSUES.md @@ -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. *[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 +```