summaryrefslogtreecommitdiffstats
path: root/layout/docs/LayoutDebugger.md
diff options
context:
space:
mode:
Diffstat (limited to 'layout/docs/LayoutDebugger.md')
-rw-r--r--layout/docs/LayoutDebugger.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/layout/docs/LayoutDebugger.md b/layout/docs/LayoutDebugger.md
new file mode 100644
index 0000000000..911c365cbd
--- /dev/null
+++ b/layout/docs/LayoutDebugger.md
@@ -0,0 +1,12 @@
+# Layout Debugger
+
+## Overview
+
+The layout debugger can dump a variety of things including:
+- Matched CSS Rules
+- Text Runs
+- Frames
+
+## Usage
+- Use a debug build or add `ac_add_options --enable-layout-debugger` to your mozconfig.
+- Run with `./mach run --layoutdebug [filename]`