OLD | NEW |
1 Skia Debugger | 1 Skia Debugger |
2 ============= | 2 ============= |
3 | 3 |
4 Introduction | 4 Introduction |
5 ------------ | 5 ------------ |
6 | 6 |
7 The Skia Debugger is a graphical tool used to step through and analyze the | 7 The Skia Debugger is a graphical tool used to step through and analyze the |
8 contents of the Skia picture format. The tool is available online at | 8 contents of the Skia picture format. The tool is available online at |
9 [https://debugger.skia.org](https://debugger.skia.org/) or can be run locally. | 9 [https://debugger.skia.org](https://debugger.skia.org/) or can be run locally. |
10 | 10 |
11 Building and running locally | 11 Building and running locally |
12 -------------------- | 12 -------------------- |
13 | 13 |
14 Begin by following the instructions to | 14 Begin by following the instructions to |
15 [download and build Skia](../../user/quick), then simply build and run the | 15 [download and build Skia](../../user/quick), then simply build and run the |
16 `skiaserve` tool: | 16 `skiaserve` tool: |
17 | 17 |
18 <!--?prettify lang=sh?--> | 18 <!--?prettify lang=sh?--> |
19 | 19 |
20 # Build. | 20 # Build. |
21 ninja -C out/Release/skiaserve | 21 ninja -C out/Release skiaserve |
22 | 22 |
23 # Run the debugger locally | 23 # Run the debugger locally |
24 out/Release/skiaserve | 24 out/Release/skiaserve |
25 | 25 |
26 After running `skiaserve`, follow the instructions to open the debugger in your | 26 After running `skiaserve`, follow the instructions to open the debugger in your |
27 local browser. By default the address will be `http://127.0.0.1:8888`. | 27 local browser. By default the address will be `http://127.0.0.1:8888`. |
28 | 28 |
29 ![Debugger interface](/dev/tools/onlinedebugger.png) | 29 ![Debugger interface](/dev/tools/onlinedebugger.png) |
OLD | NEW |