aboutsummaryrefslogtreecommitdiffhomepage
path: root/site/dev/tools/debugger.md
blob: 1c5b7e046d5a56b426caced3eb2754ffc4f9eb36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Skia Debugger
=============

Introduction
------------

The Skia Debugger is a graphical tool used to step through and analyze the
contents of the Skia picture format. The tool is available online at
[https://debugger.skia.org](https://debugger.skia.org/) or can be run locally.

Building and running locally
--------------------

Begin by following the instructions to
[download and build Skia](../../user/quick), then simply build and run the
`skiaserve` tool:

<!--?prettify lang=sh?-->

    # Build.
    ninja -C out/Release skiaserve

    # Run the debugger locally
    out/Release/skiaserve

After running `skiaserve`, follow the instructions to open the debugger in your
local browser. By default the address will be `http://127.0.0.1:8888`.

![Debugger interface](/dev/tools/onlinedebugger.png)